Declined
Last Updated: 01 Mar 2018 23:27 by ADMIN
ADMIN
Lance | Senior Manager Technical Support
Created on: 01 Mar 2018 23:03
Category: UI for Xamarin
Type: Feature Request
0
DataGrid: Add ability to set TextColor in the SelectionStyle
Currently, the DataGrid's SelectionStyle uses a DataGridBorderStyle object. This doesn't have a TextColor property.

This request is for the ability to have a different TextColor for rows that are selected. without the need for relying on the bound object values/triggers/etc.
1 comment
ADMIN
Lance | Senior Manager Technical Support
Posted on: 01 Mar 2018 23:10
This has been added, set it like the following:

<dataGrid:DataGridTextColumn ... >
    <dataGrid:DataGridTextColumn.CellContentStyle>
        <dataGrid:DataGridTextCellStyle TextColor="Black" 
                                                             SelectedTextColor="Blue"/>
        </dataGrid:DataGridTextColumn.CellContentStyle>
    </dataGrid:DataGridTextColumn>
</dataGrid:DataGridTextColumn>