Welcome to the Xceed Community | Help
Community Search  
More Search Options

The Xceed.Wpf.DataGrid.Cell class doesn't have SelectionBackground property in v 3.1

Sort Posts: Previous Next
  •  06-07-2012, 12:04 PM Post no. 32219

    The Xceed.Wpf.DataGrid.Cell class doesn't have SelectionBackground property in v 3.1

    Xceed DataGrid for WPF Professional Edition 3.1 (3.1.9175.12000):

    The class Xceed.Wpf.DataGrid.Cell doesn't have:

    1) SelectionBackground

    2) SelectionForeground

    3) InactiveSelectionBackground

    4) InactiveSelectionForeground

    ... properties as opposed to v 4.2 and 4.3 of Xceed DataGrid for WPF.

     Is there an equivalent code in v 3.1 to:

     <xcdg:DataGridControl>

         <xcdg:DataGridControl.Resources>

             <ResourceDictionary>

             <Style TargetType="{x:Type xcdg:DataCell}">

         <Style.Triggers>

             <DataTrigger Value="True">

         <DataTrigger.Binding>

    <Binding RelativeSource="{RelativeSource Self}" Path="IsSelected"/>

         </ DataTrigger .Binding> 

           <Setter Property="SelectionBackground" Value="Red"/>

     </DataTrigger> 

         </Style.Triggers> 

     </Style>

             </ResourceDictionary>

         <xcdg:DataGridControl.Resources> 

     <xcdg:DataGridControl> 

     

     

  •  06-09-2012, 6:32 PM Post no. 32223 in reply to 32219

    Re: The Xceed.Wpf.DataGrid.Cell class doesn't have SelectionBackground property in v 3.1

    Hi Caravanio,

    The SelectionBackground was put in as a feature to avoid coding a trigger for a background to a selected cells. The only thing you can do is upgrade to the latest version of the component.


    Marc

    Developer in Technical Support
    Xceed - Multi-talented components - http://xceed.com
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.