Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1385
Record selector background when selected
posted

I'm using a XamDataGrid with the Office2013 theme.  When selecting multiple records, the record selector column has the blue background only for the last record selected -- all the others have a white background.

I would like to override the style such that the record selector has the same background as the fields when the row is selected.

Parents
  • 1385
    Offline posted

    I have tried this, but it doesn't seem to work:

    <Style TargetType="{x:Type igDP:RecordSelector}"
    BasedOn="{x:Static igThemes:DataPresenterOffice2013.RecordSelector}">
    <Setter Property="Background" Value="White" />
    <Style.Triggers>
    <DataTrigger Binding="{Binding Record.IsSelected}"
    Value="False">
    <Setter Property="Background"
    Value="White" />
    </DataTrigger>
    <DataTrigger Binding="{Binding Record.IsSelected}"
    Value="True">
    <Setter Property="Background"
    Value="Red" />
    </DataTrigger>
    </Style.Triggers>
    </Style>

Reply Children
No Data