Class TreeGridRowControlBase
Represents a class that provides the base implementation for Row control in SfTreeGrid.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.TreeGrid
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class TreeGridRowControlBase : TreeGridElement, IDisposable
Constructors
TreeGridRowControlBase()
Initializes a new instance of TreeGridRowControlBase class.
Declaration
public TreeGridRowControlBase()
Fields
DataRowProperty
Dependency registration for DataRow.
Declaration
public static readonly DependencyProperty DataRowProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
Properties
DataRow
Gets or sets the TreeDataRowBase which maintains the information about the row and it's level.
Declaration
public TreeDataRowBase DataRow { get; set; }
Property Value
Type |
---|
TreeDataRowBase |
Methods
Dispose()
Disposes all the resources used by the TreeGridRowControlBase class.
Declaration
public void Dispose()
Dispose(Boolean)
Disposes all the resources used by the TreeGridRowControlBase class.
Declaration
protected virtual void Dispose(bool isdisposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isdisposing | Indicates whether the call is from Dispose method or from a finalizer. |
OnApplyTemplate()
Builds the visual tree for the TreeGridRowControlBase when a new template is applied.
Declaration
protected override void OnApplyTemplate()
OnCreateAutomationPeer()
Returns a class-specific AutomationPeer Implementations for the Microsoft UI Automation infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Type | Description |
---|---|
Microsoft.UI.Xaml.Automation.Peers.AutomationPeer | The class-specific AutomationPeer subclass. |
OnLoaded(Object, RoutedEventArgs)
Invoked when the TreeGridRowControl is Loaded.
Declaration
protected virtual void OnLoaded(object sender, RoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The sender. |
Microsoft.UI.Xaml.RoutedEventArgs | e | The Microsoft.UI.Xaml.RoutedEventArgs instance containing the event data. |
OnSizeChanged(Object, SizeChangedEventArgs)
Invoked when the TreeGridRowControl's size changed.
Declaration
protected virtual void OnSizeChanged(object sender, SizeChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | |
Microsoft.UI.Xaml.SizeChangedEventArgs | e |
SetContent()
Sets the content for Content control.
Declaration
protected virtual void SetContent()
UnwireEvents()
Unwires the events associated with the TreeGridRowControlBase.
Declaration
protected virtual void UnwireEvents()
WireEvents()
Wires the events associated with the TreeGridRowControlBase.
Declaration
protected virtual void WireEvents()