WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridTableCellAppearanceStyleInfoIdentity - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridTableCellAppearanceStyleInfoIdentity

    Represents a class that provides identity information for a GridTableCellStyleInfo object of a GridTableCellAppearance and defines the inheritance of style properties.

    Inheritance
    System.Object
    StyleInfoIdentityBase
    GridTableCellAppearanceStyleInfoIdentity
    Implements
    System.IDisposable
    Inherited Members
    StyleInfoIdentityBase.GetBaseStyle(IStyleInfo, StyleInfoProperty)
    StyleInfoIdentityBase.GetBaseStyleNotEmptyExpandable(IStyleInfo, 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.Forms.Grid.Grouping
    Assembly: Syncfusion.Grid.Grouping.Windows.dll
    Syntax
    public class GridTableCellAppearanceStyleInfoIdentity : StyleInfoIdentityBase, IDisposable
    Remarks

    Inheritance of style properties is defined by the GridTableCellStyleInfoIdentity object. It has a GetBaseStyles(IStyleInfo) method that returns the GridStyleInfo objects that form an inheritance chain. Check the GetBaseStyleNames() method to get string / debug information about the inheritance chain for a specific element. Also, the designer will show this debug information about the inheritance chain in a ToolTip when you hover the mouse over a cell within the "Preview and Edit" window.

    Constructors

    GridTableCellAppearanceStyleInfoIdentity(GridEngine, GridTableCellAppearance, GridTableCellType)

    Initializes a new instance of the GridTableCellAppearanceStyleInfoIdentity class.

    Declaration
    public GridTableCellAppearanceStyleInfoIdentity(GridEngine engine, GridTableCellAppearance appearance, GridTableCellType tableCellType)
    Parameters
    Type Name Description
    GridEngine engine

    The GridEngineAn instance of the GridEngine class.

    GridTableCellAppearance appearance

    The parent GridTableCellAppearance that owns the GridTableCellStyleInfo object.

    GridTableCellType tableCellType

    The GridTableCellType that uniquely identifies the GridTableCellStyleInfo with the GridTableCellAppearance that owns it.

    GridTableCellAppearanceStyleInfoIdentity(GridTableCellAppearanceStyleInfoIdentity)

    Initializes a new instance of the GridTableCellAppearanceStyleInfoIdentity class and copies its data from an existing object.

    Declaration
    protected GridTableCellAppearanceStyleInfoIdentity(GridTableCellAppearanceStyleInfoIdentity other)
    Parameters
    Type Name Description
    GridTableCellAppearanceStyleInfoIdentity other

    The existing object to copy data from.

    Properties

    Appearance

    Gets or sets the GridTableCellAppearance that owns the GridTableCellStyleInfo object.

    Declaration
    public GridTableCellAppearance Appearance { get; set; }
    Property Value
    Type Description
    GridTableCellAppearance

    Engine

    Gets the GridEngine this object belongs to.

    Declaration
    public GridEngine Engine { get; set; }
    Property Value
    Type Description
    GridEngine

    Info

    Gets the string format of the current object.

    Declaration
    public string Info { get; }
    Property Value
    Type Description
    System.String

    TableCellType

    Gets or sets the GridTableCellType that uniquely identifies the GridTableCellStyleInfo with the GridTableCellAppearance that owns it.

    Declaration
    public GridTableCellType TableCellType { get; set; }
    Property Value
    Type Description
    GridTableCellType

    Methods

    Dispose()

    Overrides and manages the unwanted resources.

    Declaration
    public override void Dispose()
    Overrides
    StyleInfoIdentityBase.Dispose()

    GetBaseStyles(IStyleInfo)

    Overrides and gets the base styles for the current object.

    Declaration
    public override IStyleInfo[] GetBaseStyles(IStyleInfo thisStyleInfo)
    Parameters
    Type Name Description
    IStyleInfo thisStyleInfo

    A reference to a IStyleInfo interface.

    Returns
    Type Description
    IStyleInfo[]

    An array of base styles.

    Overrides
    StyleInfoIdentityBase.GetBaseStyles(IStyleInfo)
    Remarks

    Inheritance of style properties is defined by the GridTableCellStyleInfoIdentity object. It has a GetBaseStyles(IStyleInfo) method that returns the GridStyleInfo objects that form an inheritance chain. Check the GetBaseStyleNames() method to get string / debug information about the inheritance chain for a specific element. Also, the designer will show this debug information about the inheritance chain in a ToolTip when you hover the mouse over a cell within the "Preview and Edit" window.

    OnStyleChanged(StyleInfoBase, StyleInfoProperty)

    Overrides and raises the Changed event.

    Declaration
    public override void OnStyleChanged(StyleInfoBase style, StyleInfoProperty sip)
    Parameters
    Type Name Description
    StyleInfoBase style

    The StyleInfoBase instance that has changed.

    StyleInfoProperty sip

    An identity for the property to operate on.

    Overrides
    StyleInfoIdentityBase.OnStyleChanged(StyleInfoBase, StyleInfoProperty)

    OnStyleChanging(StyleInfoBase, StyleInfoProperty)

    Overrides and raises the Changing event.

    Declaration
    public override void OnStyleChanging(StyleInfoBase style, StyleInfoProperty sip)
    Parameters
    Type Name Description
    StyleInfoBase style

    The StyleInfoBase instance that has changed.

    StyleInfoProperty sip

    An identity for the property to operate on.

    Overrides
    StyleInfoIdentityBase.OnStyleChanging(StyleInfoBase, StyleInfoProperty)

    ToString()

    Overrides and gets the string format of the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A string that represents the current object.

    Overrides
    System.Object.ToString()

    Implements

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