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.WPF.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 |
---|
System.Windows.DependencyProperty |
IndentMarginProperty
Dependency registration for IndentMargin.
Declaration
public static readonly DependencyProperty IndentMarginProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsCheckBoxEnabledProperty
Identifies the Syncfusion.UI.Xaml.TreeGrid.TreeGridExpanderCell.IsCheckBoxEnabled dependency property.
Declaration
public static DependencyProperty IsCheckBoxEnabledProperty
Field Value
Type |
---|
System.Windows.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 |
---|
System.Windows.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 |
---|
System.Windows.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
public override void OnApplyTemplate()
Overrides
OnCreateAutomationPeer()
Returns a class-specific AutomationPeer Implementations for the Microsoft UI Automation infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Type | Description |
---|---|
System.Windows.Automation.Peers.AutomationPeer | The class-specific AutomationPeer subclass. |
Overrides
OnMouseDoubleClick(MouseButtonEventArgs)
Declaration
protected override void OnMouseDoubleClick(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e |
Overrides
OnMouseDown(MouseButtonEventArgs)
Declaration
protected override void OnMouseDown(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e |
Overrides
OnPreviewMouseDown(MouseButtonEventArgs)
Declaration
protected override void OnPreviewMouseDown(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e |
Overrides
OnPreviewMouseUp(MouseButtonEventArgs)
Declaration
protected override void OnPreviewMouseUp(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e |