Class StyleInfoIdentityBase
This is an abstract base class that provides identity information for StyleInfoBase objects.
Implements
Namespace: Syncfusion.UI.Xaml.CellGrid.Styles
Assembly: Syncfusion.SfCellGrid.UWP.dll
Syntax
public abstract class StyleInfoIdentityBase : Object, 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 |
|
Methods
Dispose()
Releases all resources used by the component.
Declaration
public void Dispose()
Dispose(Boolean)
Dispose the live resources used by the StyleInfoIdentityBase class.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Dispose the instance, if it is True |
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. |