menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GraphicStyleInfoIdentity - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GraphicStyleInfoIdentity

    Inheritance
    System.Object
    StyleInfoIdentityBase
    GraphicStyleInfoIdentity
    Implements
    System.IDisposable
    Inherited Members
    StyleInfoIdentityBase.GetBaseStyle(IStyleInfo, StyleInfoProperty)
    StyleInfoIdentityBase.GetBaseStyleNotEmptyExpandable(IStyleInfo, StyleInfoProperty)
    StyleInfoIdentityBase.InnerIdentity
    StyleInfoIdentityBase.IsDisposable
    StyleInfoIdentityBase.OnStyleChanging(StyleInfoBase, StyleInfoProperty)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public class GraphicStyleInfoIdentity : StyleInfoIdentityBase, IDisposable

    Constructors

    GraphicStyleInfoIdentity(GraphicStyleInfoIdentity)

    Initializes a new GridStyleInfoIdentity and copies its data from an existing object.

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

    The existing object to copy data from.

    GraphicStyleInfoIdentity(GraphicVolatileCellStyles, Int32)

    Initializes a new GridStyleInfoIdentity with a reference to , row, and column index.

    Declaration
    public GraphicStyleInfoIdentity(GraphicVolatileCellStyles data, int index)
    Parameters
    Type Name Description
    GraphicVolatileCellStyles data

    A reference to .

    System.Int32 index

    GraphicStyleInfoIdentity(GraphicVolatileCellStyles, Int32, Boolean)

    Initializes a new GridStyleInfoIdentity with a reference to , row and column index, and offline state.

    Declaration
    public GraphicStyleInfoIdentity(GraphicVolatileCellStyles data, int index, bool offLine)
    Parameters
    Type Name Description
    GraphicVolatileCellStyles data

    A reference to

    System.Int32 index
    System.Boolean offLine

    True if changes in this style object should not be stored in the associated .

    Properties

    CellIndex

    The cell coordinates.

    Declaration
    public int CellIndex { get; }
    Property Value
    Type
    System.Int32

    Data

    Reference to .

    Declaration
    public GraphicVolatileCellStyles Data { get; }
    Property Value
    Type
    GraphicVolatileCellStyles

    GridModel

    Returns the grid model.

    Declaration
    public GraphicModel GridModel { get; }
    Property Value
    Type
    GraphicModel

    OffLine

    True if changes in this style object should not be stored in the associated .

    Declaration
    public virtual bool OffLine { get; }
    Property Value
    Type
    System.Boolean

    Methods

    Dispose()

    Releases all the resource used by this component.

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

    Finalize()

    Removes the associated cell cache object from the volatile data store.

    Declaration
    protected void Finalize()

    GetBaseStyles(IStyleInfo)

    Overridden. Returns base styles from by calling .

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

    A reference to a IStyleInfo.

    Returns
    Type Description
    IStyleInfo[]

    An array of base styles.

    Overrides
    StyleInfoIdentityBase.GetBaseStyles(IStyleInfo)

    LookupCellModel(String)

    Returns a GridCellModelBase for the specified id / cell type name.

    Declaration
    public virtual GraphicCellModelBase LookupCellModel(string id)
    Parameters
    Type Name Description
    System.String id

    Cell type name.

    Returns
    Type Description
    GraphicCellModelBase

    The GridCellModelBase for the given id.

    Remarks

    Calls .

    MakeOfflineIdentity()

    Creates a new GridStyleInfoIdentity and copies its identity information from the current object. The new instance will be detached from so that changes in this style object are not be stored in the associated .

    Declaration
    public GraphicStyleInfoIdentity MakeOfflineIdentity()
    Returns
    Type Description
    GraphicStyleInfoIdentity

    A new GridStyleInfoIdentity instance.

    Remarks

    Lets a style object load base styles and default values but disables saving changes back to the grid. (see OnStyleChanged below)

    OnStyleChanged(StyleInfoBase, StyleInfoProperty)

    Overridden. If the style is not off line, saves its changes in the .

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

    A reference to the GridStyleInfo object.

    StyleInfoProperty sip

    The StyleInfoProperty that identifies the changed style property.

    Overrides
    StyleInfoIdentityBase.OnStyleChanged(StyleInfoBase, StyleInfoProperty)

    ToString()

    Returns a string representation of the current object.

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

    String equivalent of the current object.

    Overrides
    System.Object.ToString()

    UpdateCellRowColumnIndex(Int32)

    Updates the cell row column index.

    Declaration
    public void UpdateCellRowColumnIndex(int index)
    Parameters
    Type Name Description
    System.Int32 index

    Implements

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