Class TreeGridExpanderCell
Represents a class that maintains the common functionalities of Expandercells in SfTreeGrid.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.TreeGrid
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public class TreeGridExpanderCell : TreeGridCell, IDisposable
Constructors
TreeGridExpanderCell()
Initializes a new instance of TreeGridExpanderCell class.
Declaration
public TreeGridExpanderCell()
Fields
HasChildNodesProperty
Dependency registration for HasChildNodes.
Declaration
public static readonly DependencyProperty HasChildNodesProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
IndentMarginProperty
Dependency registration for IndentMargin.
Declaration
public static readonly DependencyProperty IndentMarginProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
IsCheckBoxEnabledProperty
Identifies the Syncfusion.UI.Xaml.TreeGrid.TreeGridExpanderCell.IsCheckBoxEnabled dependency property.
Declaration
public static DependencyProperty IsCheckBoxEnabledProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the Syncfusion.UI.Xaml.TreeGrid.TreeGridExpanderCell.IsCheckBoxEnabled dependency property.
IsExpandedProperty
Dependency registration for IsExpanded.
Declaration
public static readonly DependencyProperty IsExpandedProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
HasChildNodes
Gets or sets a value indicating whether the TreeGridExpanderCell has child nodes or not.
Declaration
public bool HasChildNodes { get; set; }
Property Value
Type |
---|
System.Boolean |
IndentMargin
Gets or sets the value for IndentMargin.
Declaration
public Thickness IndentMargin { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Thickness |
IsCheckBoxEnabled
Gets or sets a value which denotes whether node CheckBox enabled or not.
Declaration
public bool IsCheckBoxEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is True. |
Remarks
Using this property, you can conditionally enable or disable the node checkbox based on data.
IsExpanded
Gets or sets a value indicating whether the Expander is expanded or not.
Declaration
public bool IsExpanded { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
Dispose(Boolean)
Disposes all the resources used by the TreeGridExpanderCell class.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Indicates whether the call is from Dispose method or from a finalizer. |
Overrides
OnApplyTemplate()
Invoked to apply template for TreeGridExpanderCell.
Declaration
protected override void OnApplyTemplate()