Class TreeGridElement
Represents the class to provide the common functionalities for TreeGridCell and TreeGridRowControl.
Namespace: Syncfusion.UI.Xaml.TreeGrid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class TreeGridElement : ContentControl
Constructors
TreeGridElement()
Declaration
public TreeGridElement()
Fields
SelectionBackgroundProperty
Identifies the Syncfusion.UI.Xaml.Grid.TreeGridElement.SelectionBackground dependency property.
Declaration
public static readonly DependencyProperty SelectionBackgroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.Grid.TreeGridElement.SelectionBackground dependency property.
SelectionForegroundProperty
Identifies the Syncfusion.UI.Xaml.TreeGrid.TreeGridElement.SelectionForeground dependency property.
Declaration
public static readonly DependencyProperty SelectionForegroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.TreeGrid.TreeGridElement.SelectionForeground dependency property.
Properties
SelectionBackground
Gets or sets a brush that will be applied as the foreground of selected row.
Declaration
public Brush SelectionBackground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The brush that will be applied as the foreground of selected row.The default value is Black. |
SelectionForeground
Gets or sets a brush that highlights the foreground of currently selected row.
Declaration
public Brush SelectionForeground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The brush that highlights the foreground of selected row.The default value is Black. |