Class TreeStyleInfoIdentity
Holds the tree node, column and cell row column index a TreeStyleInfo was created for and implements the inheritance mechanism for base styles.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Controls.VirtualTreeView
Assembly: Syncfusion.GridCommon.WPF.dll
Syntax
public class TreeStyleInfoIdentity : StyleInfoIdentityBase, IDisposable
Constructors
TreeStyleInfoIdentity(TreeColumn)
Initializes a new instance of the TreeStyleInfoIdentity class.
Declaration
public TreeStyleInfoIdentity(TreeColumn column)
Parameters
| Type | Name | Description |
|---|---|---|
| TreeColumn | column | The column. |
TreeStyleInfoIdentity(TreeNode, TreeColumn, TreeLevel, RowColumnIndex)
Initializes a new instance of the TreeStyleInfoIdentity class.
Declaration
public TreeStyleInfoIdentity(TreeNode treeNode, TreeColumn column, TreeLevel level, RowColumnIndex cellRowColumnIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| TreeNode | treeNode | The tree node. |
| TreeColumn | column | The column. |
| TreeLevel | level | The level. |
| RowColumnIndex | cellRowColumnIndex | Index of the cell row column. |
TreeStyleInfoIdentity(TreeStyleInfoIdentity)
Initializes a new instance of the TreeStyleInfoIdentity class.
Declaration
public TreeStyleInfoIdentity(TreeStyleInfoIdentity other)
Parameters
| Type | Name | Description |
|---|---|---|
| TreeStyleInfoIdentity | other | The other. |
Properties
CellRowColumnIndex
The cell coordinates.
Declaration
public RowColumnIndex CellRowColumnIndex { get; }
Property Value
| Type |
|---|
| RowColumnIndex |
Column
Gets the column.
Declaration
public TreeColumn Column { get; }
Property Value
| Type | Description |
|---|---|
| TreeColumn | The column. |
ColumnIndex
The column index.
Declaration
public int ColumnIndex { get; }
Property Value
| Type |
|---|
| System.Int32 |
Level
Gets the level.
Declaration
public TreeLevel Level { get; }
Property Value
| Type | Description |
|---|---|
| TreeLevel | The level. |
RowIndex
The row index.
Declaration
public int RowIndex { get; }
Property Value
| Type |
|---|
| System.Int32 |
TreeModel
Gets the tree model.
Declaration
public TreeModel TreeModel { get; }
Property Value
| Type | Description |
|---|---|
| TreeModel | The tree model. |
TreeNode
Gets the tree node.
Declaration
public TreeNode TreeNode { get; }
Property Value
| Type | Description |
|---|---|
| TreeNode | The tree node. |
Methods
Dispose()
Releases all resources used by the component.
Declaration
public override void Dispose()
Overrides
GetBaseStyles(IStyleInfo)
Returns an array with base styles for the specified style object.
Declaration
public override IStyleInfo[] GetBaseStyles(IStyleInfo thisStyleInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| IStyleInfo | thisStyleInfo | The style object. |
Returns
| Type | Description |
|---|---|
| IStyleInfo[] | An array of style objects that are base styles for the current style object. |
Overrides
OnStyleChanged(StyleInfoBase, StyleInfoProperty)
Overridden. If the style is not offline, saves its changes in the TreeNode. Note: At the moment TreeStyleInfoIdentity does not support comminting changes in TreeNode.
Declaration
public override void OnStyleChanged(StyleInfoBase style, StyleInfoProperty sip)
Parameters
| Type | Name | Description |
|---|---|---|
| StyleInfoBase | style | A reference to the TreeStyleInfo object. |
| StyleInfoProperty | sip | The StyleInfoProperty that identifies the changed style property. |
Overrides
ResetBaseStylesCache()
Resets the base styles cache.
Declaration
public void ResetBaseStylesCache()
ToString()
Returns a System.String that represents the current System.Object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String | A System.String that represents the current System.Object. |