menu

WPF

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

    Show / Hide Table of Contents

    Class StyleInfoIdentityBase

    This is an abstract base class that provides identity information for StyleInfoBase objects.

    Inheritance
    System.Object
    StyleInfoIdentityBase
    GraphicStyleInfoIdentity
    GridStyleInfoIdentity
    TreeStyleInfoIdentity
    StyleInfoSubObjectIdentity
    Implements
    System.IDisposable
    Inherited Members
    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)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Styles
    Assembly: Syncfusion.GridCommon.Wpf.dll
    Syntax
    public abstract class StyleInfoIdentityBase : IDisposable

    Constructors

    StyleInfoIdentityBase()

    Declaration
    protected StyleInfoIdentityBase()

    Properties

    InnerIdentity

    Gets / sets another identity object to be used for determining base styles. GetBaseStyle will call InnerIdentity.GetBaseStyle if this object is not NULL.

    Declaration
    public StyleInfoIdentityBase InnerIdentity { get; set; }
    Property Value
    Type
    StyleInfoIdentityBase

    IsDisposable

    Gets or sets a value indicating whether this object is disposable.

    Declaration
    public bool IsDisposable { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if this object is disposable; otherwise, false.

    Methods

    Dispose()

    Releases all resources used by the component.

    Declaration
    public virtual void Dispose()

    GetBaseStyle(IStyleInfo, StyleInfoProperty)

    Loops through all base styles until it finds a style that has a specific property initialized.

    Declaration
    public virtual StyleInfoBase GetBaseStyle(IStyleInfo thisStyleInfo, StyleInfoProperty sip)
    Parameters
    Type Name Description
    IStyleInfo thisStyleInfo
    StyleInfoProperty sip

    A StyleInfoProperty that identifies the property to operate on.

    Returns
    Type Description
    StyleInfoBase

    A StyleInfoBase that has the property initialized.

    GetBaseStyleNotEmptyExpandable(IStyleInfo, StyleInfoProperty)

    Loops through all base styles until it finds an expandable StyleInfoSubObjectBase that has one or more properties initialized.

    Declaration
    public virtual StyleInfoBase GetBaseStyleNotEmptyExpandable(IStyleInfo thisStyleInfo, StyleInfoProperty sip)
    Parameters
    Type Name Description
    IStyleInfo thisStyleInfo

    The style object.

    StyleInfoProperty sip

    A StyleInfoProperty that identifies the property to operate on.

    Returns
    Type Description
    StyleInfoBase

    A StyleInfoBase that has the property initialized.

    GetBaseStyles(IStyleInfo)

    Returns an array with base styles for the specified style object.

    Declaration
    public abstract 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.

    OnStyleChanged(StyleInfoBase, StyleInfoProperty)

    Occurs when a property in the StyleInfoBase has changed.

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

    The StyleInfoBase instance that has changed.

    StyleInfoProperty sip

    A StyleInfoProperty that identifies the property to operate on.

    OnStyleChanging(StyleInfoBase, StyleInfoProperty)

    Occurs before a property in the StyleInfoBase is changing.

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

    The StyleInfoBase instance that is changed.

    StyleInfoProperty sip

    A StyleInfoProperty that identifies the property to operate on.

    Implements

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