Home Forums WPF controls Xceed DataGrid for WPF DataRow Style Disappears Upon Losting Focus

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #23637 |

    I set a simple style property for DataRow and when I minimize my app and then maximize it again, the style disappears unitl the grid gets focus again. Is this a known issue, is anybody else experiencing this issue? I have also set my background to a non default color.

    <Style TargetType=”{x:Type xceed:DataRow}”>
    <Setter Property=”SelectionBackground”>
    <Setter.Value>
    <SolidColorBrush Color=”Orange” />
    </Setter.Value>
    </Setter>
    </Style>

    Imported from legacy forums. Posted by Rob (had 2239 views)

    Xceed Support
    Member
    Post count: 5658

    Please refer to the <a href=”http://doc.xceedsoft.com/products/XceedWpfDataGrid/Xceed.Wpf.DataGrid~Xceed.Wpf.DataGrid.Row~InactiveSelectionBackground.html”>InactiveSelectionBackground</a&gt; property documentation for details.

    Imported from legacy forums. Posted by Marcus [Xceed] (had 306 views)

    User (Old forums)
    Member
    Post count: 23064

    Great!

    This works, thank you.

    Imported from legacy forums. Posted by Rob (had 3441 views)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.