Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActiveRowColor is not working in android release mode #136

Open
borbirob opened this issue Dec 20, 2023 · 1 comment
Open

ActiveRowColor is not working in android release mode #136

borbirob opened this issue Dec 20, 2023 · 1 comment

Comments

@borbirob
Copy link

borbirob commented Dec 20, 2023

Describe the bug
When I set the ActiveRowColor properite it's working fine in debug mode, but not in realese nor in real device.
Tried to set that propertie in different ways but neither was succesfull.

Codes what I tried

<!--In xaml--!>
<dg:DataGrid.ActiveRowColor>
    <Color>#FFB0C4DE</Color>
</dg:DataGrid.ActiveRowColor>

<dg:DataGrid x:Name="dataGrid"
                Grid.Row="1" 
                SelectionEnabled="True" 
                ItemsSource="{Binding SomeItems}"
                SelectedItem="{Binding Selecteditem}"
                RowHeight="50" 
                HeaderHeight="50" 
                BorderColor="Gray"
                HeaderBackground="LightGray" 
                HeaderBordersVisible="True"
                RefreshingEnabled="False"
                ItemSelected="OnRowSelected"
                ActiveRowColor="LightSteelBlue">

//In code behind
dataGrid.ActiveRowColor = Colors.LightSteelBlue;
@symbiogenesis
Copy link
Collaborator

Is this fixed now with the latest versions of MAUI and the latest DataGrid?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants