menu

WPF

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

    Show / Hide Table of Contents

    Class GridStyleInfoIdentity

    Inheritance
    System.Object
    StyleInfoIdentityBase
    GridStyleInfoIdentity
    Implements
    System.IDisposable
    Inherited Members
    StyleInfoIdentityBase.Dispose()
    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.UI.Xaml.CellGrid.Styles
    Assembly: Syncfusion.SfCellGrid.WPF.dll
    Syntax
    public class GridStyleInfoIdentity : StyleInfoIdentityBase, IDisposable

    Constructors

    GridStyleInfoIdentity(GridStyleInfoIdentity)

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

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

    The existing object to copy data from.

    GridStyleInfoIdentity(GridVolatileCellStyles, RowColumnIndex)

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

    Declaration
    public GridStyleInfoIdentity(GridVolatileCellStyles data, RowColumnIndex pos)
    Parameters
    Type Name Description
    GridVolatileCellStyles data

    A reference to .

    RowColumnIndex pos

    Cell coordinates.

    GridStyleInfoIdentity(GridVolatileCellStyles, RowColumnIndex, Boolean)

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

    Declaration
    public GridStyleInfoIdentity(GridVolatileCellStyles data, RowColumnIndex pos, bool offLine)
    Parameters
    Type Name Description
    GridVolatileCellStyles data

    A reference to .

    RowColumnIndex pos

    Cell coordinates.

    System.Boolean offLine

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

    GridStyleInfoIdentity(GridVolatileCellStyles, Int32, Int32)

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

    Declaration
    public GridStyleInfoIdentity(GridVolatileCellStyles data, int rowIndex, int colIndex)
    Parameters
    Type Name Description
    GridVolatileCellStyles data

    A reference to .

    System.Int32 rowIndex

    Row index.

    System.Int32 colIndex

    Column index.

    GridStyleInfoIdentity(GridVolatileCellStyles, Int32, Int32, Boolean)

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

    Declaration
    public GridStyleInfoIdentity(GridVolatileCellStyles data, int rowIndex, int colIndex, bool offLine)
    Parameters
    Type Name Description
    GridVolatileCellStyles data

    A reference to

    System.Int32 rowIndex

    Row index.

    System.Int32 colIndex

    Column index.

    System.Boolean offLine

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

    Properties

    CellRowColumnIndex

    The cell coordinates.

    Declaration
    public RowColumnIndex CellRowColumnIndex { get; }
    Property Value
    Type
    RowColumnIndex

    ColumnIndex

    The column index.

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

    Data

    Reference to .

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

    GridModel

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

    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

    RowIndex

    The row index.

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

    Methods

    Dispose(Boolean)

    Dispose the live resources used by the GridStyleInfoIdentity class.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    Dispose the instance, if it is True

    Overrides
    StyleInfoIdentityBase.Dispose(Boolean)

    Finalize()

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

    Declaration
    protected void Finalize()

    GetBaseStyles(IStyleInfo)

    Overriden. 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)

    LookupCellRenderer(String)

    Returns a for the specified id / cell type name.

    Declaration
    public virtual IGridCellRenderer LookupCellRenderer(string id)
    Parameters
    Type Name Description
    System.String id

    Cell type name.

    Returns
    Type Description
    IGridCellRenderer

    The 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 GridStyleInfoIdentity MakeOfflineIdentity()
    Returns
    Type Description
    GridStyleInfoIdentity

    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 offline, 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()

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

    UpdateCellRowColumnIndex(RowColumnIndex)

    Declaration
    public void UpdateCellRowColumnIndex(RowColumnIndex cellRowColumnIndex)
    Parameters
    Type Name Description
    RowColumnIndex cellRowColumnIndex

    Implements

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