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
100
Not Highlighting Active Record
posted

Hi,

 It seems the default behaviour for the xamDataGrid is to highlight the active record, making it look similar (though different) to selected records.

How can you configure the grid so that it doesn't highlight the active row?

Thanks 

Parents
No Data
Reply
  • 2125
    posted

    Hi,

    If you want to suppress the active record highlighting you could use the following style.


    <Style TargetType="{x:Type igDP:DataRecordCellArea}">
                <Setter Property="BackgroundActive">
                    <Setter.Value>
                        <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="White" Offset="1"/>
                        </LinearGradientBrush>
                    </Setter.Value>
                </Setter>
                <Setter Property="BorderActiveBrush" Value="#FF000000"/>
     </Style>

    Best Regards,
    Yanko

Children