Class TreeGridStyle
Represents the style for SfTreeGrid control.
Namespace: Syncfusion.Maui.TreeGrid
Assembly: Syncfusion.Maui.TreeGrid.dll
Syntax
public class TreeGridStyle : Element
Constructors
TreeGridStyle()
Initializes a new instance of the TreeGridStyle class.
Declaration
public TreeGridStyle()
Fields
ColumnDragViewBackgroundColorProperty
Identifies the ColumnDragViewBackgroundColor Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty ColumnDragViewBackgroundColorProperty
Field Value
| Type |
|---|
| BindableProperty |
ColumnDragViewTextColorProperty
Identifies the ColumnDragViewTextColor Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty ColumnDragViewTextColorProperty
Field Value
| Type |
|---|
| BindableProperty |
ColumnDraggingIndicatorLineColorProperty
Identifies the ColumnDraggingIndicatorLineColor Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty ColumnDraggingIndicatorLineColorProperty
Field Value
| Type |
|---|
| BindableProperty |
ColumnResizingIndicatorColorProperty
Identifies the ColumnResizingIndicatorColor Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty ColumnResizingIndicatorColorProperty
Field Value
| Type |
|---|
| BindableProperty |
CurrentCellBorderWidthProperty
Identifies the CurrentCellBorderWidth Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty CurrentCellBorderWidthProperty
Field Value
| Type |
|---|
| BindableProperty |
CurrentCellStrokeProperty
Identifies the CurrentCellBorderColor Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty CurrentCellStrokeProperty
Field Value
| Type |
|---|
| BindableProperty |
CurrentRowHighlightColorProperty
Identifies the CurrentRowHighlightColor Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty CurrentRowHighlightColorProperty
Field Value
| Type |
|---|
| BindableProperty |
Remarks
The CurrentRowHighlightColor property determines the highlight color of the current row when NavigationMode is set to Row.
ExpanderIconColorProperty
Identifies the GroupIconColor Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty ExpanderIconColorProperty
Field Value
| Type |
|---|
| BindableProperty |
FreezePaneLineColorProperty
Identifies the FreezePaneLineColor Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty FreezePaneLineColorProperty
Field Value
| Type |
|---|
| BindableProperty |
FreezePaneLineStrokeThicknessProperty
Identifies the FreezePaneLineStrokeThickness bindable property.
Declaration
public static readonly BindableProperty FreezePaneLineStrokeThicknessProperty
Field Value
| Type |
|---|
| BindableProperty |
Remarks
The FreezePaneLineStrokeThickness property determines the stroke thickness of the freeze pane line that visually separates frozen rows or columns from the scrollable area in the data grid.
GridLineColorProperty
Identifies the GridLineColor Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty GridLineColorProperty
Field Value
| Type |
|---|
| BindableProperty |
GridLineStrokeThicknessProperty
Identifies the GridLineStrokeThickness Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty GridLineStrokeThicknessProperty
Field Value
| Type |
|---|
| BindableProperty |
HeaderGridLineColorProperty
Identifies the HeaderGridLineColor bindable property.
Declaration
public static readonly BindableProperty HeaderGridLineColorProperty
Field Value
| Type |
|---|
| BindableProperty |
Remarks
The HeaderGridLineColor The property specifies the grid line color of the column header and stacked header cells.
HeaderGridLineStrokeThicknessProperty
Identifies the HeaderGridLineStrokeThickness bindable property.
Declaration
public static readonly BindableProperty HeaderGridLineStrokeThicknessProperty
Field Value
| Type |
|---|
| BindableProperty |
Remarks
The HeaderGridLineStrokeThickness property determines the stroke thickness of the column header and stacked header cells.
HeaderRowBackgroundProperty
Identifies the HeaderRowBackground Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty HeaderRowBackgroundProperty
Field Value
| Type |
|---|
| BindableProperty |
HeaderRowFontAttributesProperty
Identifies the HeaderFontAttributes Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty HeaderRowFontAttributesProperty
Field Value
| Type |
|---|
| BindableProperty |
HeaderRowFontFamilyProperty
Identifies the HeaderFontFamily Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty HeaderRowFontFamilyProperty
Field Value
| Type |
|---|
| BindableProperty |
HeaderRowFontSizeProperty
Identifies the HeaderFontSize Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty HeaderRowFontSizeProperty
Field Value
| Type |
|---|
| BindableProperty |
HeaderRowTextColorProperty
Identifies the HeaderRowTextColor Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty HeaderRowTextColorProperty
Field Value
| Type |
|---|
| BindableProperty |
HyperlinkTextColorProperty
Identifies the HyperlinkTextColor Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty HyperlinkTextColorProperty
Field Value
| Type |
|---|
| BindableProperty |
LoadMoreBackgroundProperty
Identifies the LoadMoreBackground bindable property.
Declaration
public static readonly BindableProperty LoadMoreBackgroundProperty
Field Value
| Type |
|---|
| BindableProperty |
LoadMoreButtonBackgroundProperty
Identifies the LoadMoreButtonBackground bindable property.
Declaration
public static readonly BindableProperty LoadMoreButtonBackgroundProperty
Field Value
| Type |
|---|
| BindableProperty |
LoadMoreButtonTextColorProperty
Identifies the LoadMoreButtonTextColor bindable property.
Declaration
public static readonly BindableProperty LoadMoreButtonTextColorProperty
Field Value
| Type |
|---|
| BindableProperty |
LoadMoreIndicatorColorProperty
Identifies the LoadMoreIndicatorColor bindable property.
Declaration
public static readonly BindableProperty LoadMoreIndicatorColorProperty
Field Value
| Type |
|---|
| BindableProperty |
RowBackgroundProperty
Identifies the RowBackground Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty RowBackgroundProperty
Field Value
| Type |
|---|
| BindableProperty |
RowDragViewBackgroundColorProperty
Identifies the RowDragViewBackgroundColor bindable property.
Declaration
public static readonly BindableProperty RowDragViewBackgroundColorProperty
Field Value
| Type |
|---|
| BindableProperty |
RowDragViewBadgeBackgroundColorProperty
Identifies the RowDragViewBadgeBackgroundColor bindable property.
Declaration
public static readonly BindableProperty RowDragViewBadgeBackgroundColorProperty
Field Value
| Type |
|---|
| BindableProperty |
RowDragViewBadgeTextColorProperty
Identifies the RowDragViewBadgeTextColor bindable property.
Declaration
public static readonly BindableProperty RowDragViewBadgeTextColorProperty
Field Value
| Type |
|---|
| BindableProperty |
RowDragViewBorderColorProperty
Identifies the RowDragViewBorderColor bindable property.
Declaration
public static readonly BindableProperty RowDragViewBorderColorProperty
Field Value
| Type |
|---|
| BindableProperty |
RowDragViewTextColorProperty
Identifies the RowDragViewTextColor bindable property.
Declaration
public static readonly BindableProperty RowDragViewTextColorProperty
Field Value
| Type |
|---|
| BindableProperty |
RowDraggingIndicatorLineColorProperty
Identifies the RowDraggingIndicatorLineColor bindable property.
Declaration
public static readonly BindableProperty RowDraggingIndicatorLineColorProperty
Field Value
| Type |
|---|
| BindableProperty |
RowFontAttributesProperty
Identifies the RowFontAttributes Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty RowFontAttributesProperty
Field Value
| Type |
|---|
| BindableProperty |
RowFontFamilyProperty
Identifies the RowFontFamily Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty RowFontFamilyProperty
Field Value
| Type |
|---|
| BindableProperty |
RowFontSizeProperty
Identifies the RowFontSize Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty RowFontSizeProperty
Field Value
| Type |
|---|
| BindableProperty |
RowTextColorProperty
Identifies the RowTextColor Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty RowTextColorProperty
Field Value
| Type |
|---|
| BindableProperty |
SearchBarBackgroundProperty
Identifies the SearchBarBackground bindable property.
Declaration
public static readonly BindableProperty SearchBarBackgroundProperty
Field Value
| Type |
|---|
| BindableProperty |
SearchBarTextColorProperty
Identifies the SearchBarTextColor bindable property.
Declaration
public static readonly BindableProperty SearchBarTextColorProperty
Field Value
| Type |
|---|
| BindableProperty |
SearchBarTextFontAttributesProperty
Identifies the SearchBarTextFontAttributes bindable property.
Declaration
public static readonly BindableProperty SearchBarTextFontAttributesProperty
Field Value
| Type |
|---|
| BindableProperty |
SearchBarTextFontFamilyProperty
Identifies the SearchBarTextFontFamily bindable property.
Declaration
public static readonly BindableProperty SearchBarTextFontFamilyProperty
Field Value
| Type |
|---|
| BindableProperty |
SearchBarTextFontSizeProperty
Identifies the SearchBarTextFontSize bindable property.
Declaration
public static readonly BindableProperty SearchBarTextFontSizeProperty
Field Value
| Type |
|---|
| BindableProperty |
SearchCellBackgroundProperty
Identifies the SearchCellBackground bindable property.
Declaration
public static readonly BindableProperty SearchCellBackgroundProperty
Field Value
| Type |
|---|
| BindableProperty |
SearchHighlightTextBackgroundProperty
Identifies the SearchHighlightTextBackground bindable property.
Declaration
public static readonly BindableProperty SearchHighlightTextBackgroundProperty
Field Value
| Type |
|---|
| BindableProperty |
SearchHighlightTextColorProperty
Identifies the SearchHighlightTextColor bindable property.
Declaration
public static readonly BindableProperty SearchHighlightTextColorProperty
Field Value
| Type |
|---|
| BindableProperty |
SearchNavigationIconColorProperty
Identifies the Syncfusion.Maui.TreeGrid.TreeGridStyle.SearchNavigationIconColor bindable property.
Declaration
public static readonly BindableProperty SearchNavigationIconColorProperty
Field Value
| Type |
|---|
| BindableProperty |
SearchTextBackgroundProperty
Identifies the SearchTextBackground bindable property.
Declaration
public static readonly BindableProperty SearchTextBackgroundProperty
Field Value
| Type |
|---|
| BindableProperty |
SearchTextColorProperty
Identifies the SearchTextColor bindable property.
Declaration
public static readonly BindableProperty SearchTextColorProperty
Field Value
| Type |
|---|
| BindableProperty |
SearchToolbarBackgroundProperty
Identifies the SearchToolbarBackground bindable property.
Declaration
public static readonly BindableProperty SearchToolbarBackgroundProperty
Field Value
| Type |
|---|
| BindableProperty |
SearchToolbarStrokeProperty
Identifies the SearchToolbarStroke bindable property.
Declaration
public static readonly BindableProperty SearchToolbarStrokeProperty
Field Value
| Type |
|---|
| BindableProperty |
SearchToolbarStrokeThicknessProperty
Identifies the SearchToolbarStrokeThickness bindable property.
Declaration
public static readonly BindableProperty SearchToolbarStrokeThicknessProperty
Field Value
| Type |
|---|
| BindableProperty |
SelectedRowTextColorProperty
Identifies the SelectedRowTextColor Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty SelectedRowTextColorProperty
Field Value
| Type |
|---|
| BindableProperty |
SelectionBackgroundProperty
Identifies the SelectionBackground Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty SelectionBackgroundProperty
Field Value
| Type |
|---|
| BindableProperty |
SortIconColorProperty
Identifies the SortIconColor Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty SortIconColorProperty
Field Value
| Type |
|---|
| BindableProperty |
StackedHeaderRowBackgroundProperty
Identifies the StackedHeaderRowBackground Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty StackedHeaderRowBackgroundProperty
Field Value
| Type |
|---|
| BindableProperty |
StackedHeaderRowFontAttributesProperty
Identifies the StackedHeaderRowFontAttributes Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty StackedHeaderRowFontAttributesProperty
Field Value
| Type |
|---|
| BindableProperty |
StackedHeaderRowFontFamilyProperty
Identifies the StackedHeaderRowFontFamily Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty StackedHeaderRowFontFamilyProperty
Field Value
| Type |
|---|
| BindableProperty |
StackedHeaderRowFontSizeProperty
Identifies the StackedHeaderRowFontSize Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty StackedHeaderRowFontSizeProperty
Field Value
| Type |
|---|
| BindableProperty |
StackedHeaderRowTextColorProperty
Identifies the StackedHeaderRowTextColor Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty StackedHeaderRowTextColorProperty
Field Value
| Type |
|---|
| BindableProperty |
Properties
ColumnDragViewBackgroundColor
Gets or sets the background color of the column drag view displayed while dragging a column in the SfTreeGrid.
Declaration
public Color ColumnDragViewBackgroundColor { get; set; }
Property Value
| Type |
|---|
| Color |
ColumnDragViewTextColor
Gets or sets the text color of the column drag view displayed while dragging a column in the SfTreeGrid.
Declaration
public Color ColumnDragViewTextColor { get; set; }
Property Value
| Type |
|---|
| Color |
ColumnDraggingIndicatorLineColor
Gets or sets the color of the drag indicator line displayed while dragging a column in the SfTreeGrid.
Declaration
public Color ColumnDraggingIndicatorLineColor { get; set; }
Property Value
| Type |
|---|
| Color |
ColumnResizingIndicatorColor
Gets or sets the color of the column resizing indicator line displayed while resizing a column in the SfTreeGrid.
Declaration
public Color ColumnResizingIndicatorColor { get; set; }
Property Value
| Type |
|---|
| Color |
CurrentCellBorderWidth
Gets or sets the border width for the current cell.
Declaration
public double CurrentCellBorderWidth { get; set; }
Property Value
| Type |
|---|
| double |
CurrentCellStroke
Gets or sets the border color for the current cell.
Declaration
public Color CurrentCellStroke { get; set; }
Property Value
| Type |
|---|
| Color |
CurrentRowHighlightColor
Gets or sets the highlight color of the current row.
Declaration
public Color CurrentRowHighlightColor { get; set; }
Property Value
| Type |
|---|
| Color |
Remarks
The highlight is displayed on the current row when NavigationMode is set to Row, similar to the MAUI DataGrid current row behavior.
ExpanderIconColor
Gets or sets the master-details view expander icon color.
Declaration
public Color ExpanderIconColor { get; set; }
Property Value
| Type |
|---|
| Color |
FreezePaneLineColor
Gets or sets the color of the line which indicates the frozen pane.
Declaration
public Color FreezePaneLineColor { get; set; }
Property Value
| Type |
|---|
| Color |
Remarks
This is applicable for both the frozen column and row.
FreezePaneLineStrokeThickness
Gets or sets the stroke thickness of the freeze pane line in the data grid.
Declaration
public int FreezePaneLineStrokeThickness { get; set; }
Property Value
| Type | Description |
|---|---|
| int | It accepts int values, and the default thickness is 1. |
Remarks
This property allows you to customize the appearance of the freeze pane line by adjusting its stroke thickness. The freeze pane line visually separates frozen rows or columns from the scrollable area in the grid.
Examples
Here is an example of how to set the FreezePaneLineStrokeThickness property.
[XAML///
<local:SfTreeGrid>
<local:SfTreeGrid.DefaultStyle>
<local:TreeGridStyle FreezePaneLineStrokeThickness="2" />
</local:SfTreeGrid.DefaultStyle>
</local:SfTreeGrid>
]]]
</code>
[C#](#tab/tabid-1)
<code>
<![CDATA[
var treeGrid = new SfTreeGrid();
TreeGridStyle style = new TreeGridStyle() { FreezePaneLineStrokeThickness = 2 };
treeGrid.DefaultStyle = style;
GridLineColor
Gets or sets the color for the grid lines.
Declaration
public Color GridLineColor { get; set; }
Property Value
| Type |
|---|
| Color |
GridLineStrokeThickness
Gets or sets the stroke thickness of the grid lines.
Declaration
public float GridLineStrokeThickness { get; set; }
Property Value
| Type |
|---|
| float |
HeaderGridLineColor
Gets or sets the color for the grid lines of the column header cells.
Declaration
public Color HeaderGridLineColor { get; set; }
Property Value
| Type |
|---|
| Color |
HeaderGridLineStrokeThickness
Gets or sets the stroke thickness of the grid lines of the column header cells.
Declaration
public float HeaderGridLineStrokeThickness { get; set; }
Property Value
| Type |
|---|
| float |
HeaderRowBackground
Gets or sets the background for the header row.
Declaration
public Brush HeaderRowBackground { get; set; }
Property Value
| Type |
|---|
| Brush |
HeaderRowFontAttributes
Gets or sets the font attributes of the header row.
Declaration
public FontAttributes HeaderRowFontAttributes { get; set; }
Property Value
| Type |
|---|
| FontAttributes |
HeaderRowFontFamily
Gets or sets the font family of the header row.
Declaration
public string HeaderRowFontFamily { get; set; }
Property Value
| Type |
|---|
| string |
HeaderRowFontSize
Gets or sets the font size of the header row.
Declaration
public double HeaderRowFontSize { get; set; }
Property Value
| Type |
|---|
| double |
HeaderRowTextColor
Gets or sets the text color of the header row.
Declaration
public Color HeaderRowTextColor { get; set; }
Property Value
| Type |
|---|
| Color |
HyperlinkTextColor
Gets or sets the text color for hyperlink cells.
Declaration
public Color HyperlinkTextColor { get; set; }
Property Value
| Type |
|---|
| Color |
Remarks
This property defines the color used for displaying hyperlinks in TreeGridHyperlinkColumn cells. The default color is #6750A4 (Material Design 3 Purple). This property can be customized to match the application's theme.
LoadMoreBackground
Gets or sets the Microsoft.Maui.Controls.Brush which fills the background of the load more view.
Declaration
public Brush LoadMoreBackground { get; set; }
Property Value
| Type |
|---|
| Brush |
LoadMoreButtonBackground
Gets or sets the Microsoft.Maui.Controls.Brush which fills the background of the load more view button.
Declaration
public Brush LoadMoreButtonBackground { get; set; }
Property Value
| Type |
|---|
| Brush |
LoadMoreButtonTextColor
Gets or sets the text color of the load more view button.
Declaration
public Color LoadMoreButtonTextColor { get; set; }
Property Value
| Type |
|---|
| Color |
LoadMoreIndicatorColor
Gets or sets the color of the busy indicator in the load more view.
Declaration
public Color LoadMoreIndicatorColor { get; set; }
Property Value
| Type |
|---|
| Color |
RowBackground
Gets or sets the background of the data rows.
Declaration
public Brush RowBackground { get; set; }
Property Value
| Type |
|---|
| Brush |
RowDragViewBackgroundColor
Gets or sets the background of the drag view shown while a row is dragged in the SfTreeGrid.
Declaration
public Brush RowDragViewBackgroundColor { get; set; }
Property Value
| Type |
|---|
| Brush |
RowDragViewBadgeBackgroundColor
Gets or sets the background color of the multiple-row badge shown on the drag view.
Declaration
public Color RowDragViewBadgeBackgroundColor { get; set; }
Property Value
| Type |
|---|
| Color |
RowDragViewBadgeTextColor
Gets or sets the text color of the multiple-row badge shown on the drag view.
Declaration
public Color RowDragViewBadgeTextColor { get; set; }
Property Value
| Type |
|---|
| Color |
RowDragViewBorderColor
Gets or sets the border color of the drag view shown while a row is dragged in the SfTreeGrid.
Declaration
public Color RowDragViewBorderColor { get; set; }
Property Value
| Type |
|---|
| Color |
RowDragViewTextColor
Gets or sets the text color of the drag view shown while a row is dragged in the SfTreeGrid.
Declaration
public Color RowDragViewTextColor { get; set; }
Property Value
| Type |
|---|
| Color |
RowDraggingIndicatorLineColor
Gets or sets the color of the drop indicator line shown at the drop position while a row is dragged in the SfTreeGrid.
Declaration
public Color RowDraggingIndicatorLineColor { get; set; }
Property Value
| Type |
|---|
| Color |
RowFontAttributes
Gets or sets the font attributes of the data rows.
Declaration
public FontAttributes RowFontAttributes { get; set; }
Property Value
| Type |
|---|
| FontAttributes |
RowFontFamily
Gets or sets the font family of the data rows.
Declaration
public string RowFontFamily { get; set; }
Property Value
| Type |
|---|
| string |
RowFontSize
Gets or sets the font size of the data rows.
Declaration
public double RowFontSize { get; set; }
Property Value
| Type |
|---|
| double |
RowTextColor
Gets or sets the text color of the data row.
Declaration
public Color RowTextColor { get; set; }
Property Value
| Type |
|---|
| Color |
SearchBarBackground
Gets or sets the background color of the search entry control.
Declaration
public Color SearchBarBackground { get; set; }
Property Value
| Type |
|---|
| Color |
SearchBarTextColor
Gets or sets the text color of the search entry control.
Declaration
public Color SearchBarTextColor { get; set; }
Property Value
| Type |
|---|
| Color |
SearchBarTextFontAttributes
Gets or sets the font attributes (bold, italic, etc.) of the search entry text.
Declaration
public FontAttributes SearchBarTextFontAttributes { get; set; }
Property Value
| Type |
|---|
| FontAttributes |
SearchBarTextFontFamily
Gets or sets the font family of the search entry text.
Declaration
public string SearchBarTextFontFamily { get; set; }
Property Value
| Type |
|---|
| string |
SearchBarTextFontSize
Gets or sets the font size of the search entry text.
Declaration
public double SearchBarTextFontSize { get; set; }
Property Value
| Type |
|---|
| double |
SearchCellBackground
Gets or sets the background brush for search result cells.
Declaration
public Brush SearchCellBackground { get; set; }
Property Value
| Type | Description |
|---|---|
| Brush | The background brush for search result cells. The default is light yellow. |
SearchHighlightTextBackground
Gets or sets the background color of the current search result that is navigated to.
Declaration
public Color SearchHighlightTextBackground { get; set; }
Property Value
| Type | Description |
|---|---|
| Color | The background color of the current search result. The default is orange. |
SearchHighlightTextColor
Gets or sets the text color of the current search result that is navigated to.
Declaration
public Color SearchHighlightTextColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color | The text color of the current search result. The default is black. |
SearchTextBackground
Gets or sets the background color of the highlighted search text in a cell.
Declaration
public Color SearchTextBackground { get; set; }
Property Value
| Type | Description |
|---|---|
| Color | The background color of the highlighted search text. The default is yellow. |
SearchTextColor
Gets or sets the text color of the highlighted search text in a cell.
Declaration
public Color SearchTextColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color | The text color of the highlighted search text. The default is black. |
SearchToolbarBackground
Gets or sets the background color of the search toolbar.
Declaration
public Color SearchToolbarBackground { get; set; }
Property Value
| Type | Description |
|---|---|
| Color | The background color of the search toolbar. The default is white. |
SearchToolbarStroke
Gets or sets the stroke color of the search toolbar.
Declaration
public Color SearchToolbarStroke { get; set; }
Property Value
| Type | Description |
|---|---|
| Color | The stroke color of the search toolbar. |
SearchToolbarStrokeThickness
Gets or sets the stroke thickness of the search toolbar.
Declaration
public float SearchToolbarStrokeThickness { get; set; }
Property Value
| Type | Description |
|---|---|
| float | The stroke thickness of the search toolbar. The default is 1. |
SelectedRowTextColor
Gets or sets the text color of the selected rows.
Declaration
public Color SelectedRowTextColor { get; set; }
Property Value
| Type |
|---|
| Color |
SelectionBackground
Gets or sets the background of the selected rows.
Declaration
public Brush SelectionBackground { get; set; }
Property Value
| Type |
|---|
| Brush |
SortIconColor
Gets or sets the color of the sort icon displayed in the header row of the SfTreeGrid.
Declaration
public Color SortIconColor { get; set; }
Property Value
| Type |
|---|
| Color |
StackedHeaderRowBackground
Gets or sets the background of the stacked header rows.
Declaration
public Brush StackedHeaderRowBackground { get; set; }
Property Value
| Type |
|---|
| Brush |
StackedHeaderRowFontAttributes
Gets or sets the font attributes of the stacked header rows.
Declaration
public FontAttributes StackedHeaderRowFontAttributes { get; set; }
Property Value
| Type |
|---|
| FontAttributes |
StackedHeaderRowFontFamily
Gets or sets the font family of the stacked header rows.
Declaration
public string StackedHeaderRowFontFamily { get; set; }
Property Value
| Type |
|---|
| string |
StackedHeaderRowFontSize
Gets or sets the font size of the stacked header rows.
Declaration
public double StackedHeaderRowFontSize { get; set; }
Property Value
| Type |
|---|
| double |
StackedHeaderRowTextColor
Gets or sets the text color of the stacked header rows.
Declaration
public Color StackedHeaderRowTextColor { get; set; }
Property Value
| Type |
|---|
| Color |
Methods
OnCommonThemeChanged(string, string)
Called when the common theme is changed.
Declaration
public void OnCommonThemeChanged(string oldTheme, string newTheme)
Parameters
| Type | Name | Description |
|---|---|---|
| string | oldTheme | |
| string | newTheme |
OnControlThemeChanged(string, string)
Called when the control theme is changed.
Declaration
public void OnControlThemeChanged(string oldTheme, string newTheme)
Parameters
| Type | Name | Description |
|---|---|---|
| string | oldTheme | |
| string | newTheme |