WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeStyleInfoIdentity - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    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.

    Inheritance
    System.Object
    StyleInfoIdentityBase
    TreeStyleInfoIdentity
    Implements
    System.IDisposable
    Inherited Members
    StyleInfoIdentityBase.GetBaseStyle(IStyleInfo, StyleInfoProperty)
    StyleInfoIdentityBase.GetBaseStyleNotEmptyExpandable(IStyleInfo, StyleInfoProperty)
    StyleInfoIdentityBase.OnStyleChanging(StyleInfoBase, StyleInfoProperty)
    StyleInfoIdentityBase.InnerIdentity
    StyleInfoIdentityBase.IsDisposable
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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 Description
    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 Description
    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 Description
    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
    StyleInfoIdentityBase.Dispose()

    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
    StyleInfoIdentityBase.GetBaseStyles(IStyleInfo)

    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
    StyleInfoIdentityBase.OnStyleChanged(StyleInfoBase, StyleInfoProperty)

    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.

    Overrides
    System.Object.ToString()

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved