Class TreeGridRowControlBase
Represents a class that provides the base implementation for Row control in SfTreeGrid.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.TreeGrid
Assembly: Syncfusion.SfGrid.WPF.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 |
---|
System.Windows.DependencyProperty |
ItemsPanel
Declaration
protected Panel ItemsPanel
Field Value
Type |
---|
System.Windows.Controls.Panel |
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
public override void OnApplyTemplate()
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. |
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. |
System.Windows.RoutedEventArgs | e | The System.Windows.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 | |
System.Windows.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()