Class ItemStateManagerBase
Inheritance
Inherited Members
Namespace: Telerik.WinControls.Styles
Assembly: Telerik.WinControls.dll
Syntax
public abstract class ItemStateManagerBase
Constructors
ItemStateManagerBase()
Declaration
public ItemStateManagerBase()
Fields
stateDelimiter
Declaration
public const char stateDelimiter = '.'
Field Value
System.Char
|
Properties
DefaultVisibleStates
Declaration
public IEnumerable<string> DefaultVisibleStates { get; }
Property Value
System.Collections.Generic.IEnumerable<System.String>
|
Methods
AddDefaultVisibleState(String)
Declaration
public void AddDefaultVisibleState(string state)
Parameters
System.String
state
|
AttachToItem(RadObject)
Declaration
public virtual StateManagerAttachmentData AttachToItem(RadObject item)
Parameters
RadObject
item
|
Returns
StateManagerAttachmentData
|
AttachToItemOverride(StateManagerAttachmentData, RadObject)
Declaration
protected abstract void AttachToItemOverride(StateManagerAttachmentData attachData, RadObject item)
Parameters
StateManagerAttachmentData
attachData
|
RadObject
item
|
CombineStateNames(String, String)
Combines state names, using stateDelimiter Character.
Declaration
public static string CombineStateNames(string stateName, string stateName1)
Parameters
System.String
stateName
|
System.String
stateName1
|
Returns
System.String
|
Remarks
Egg. combining "Selected" and "MouseOver" gives "Selected.MouseOver"; combining "" and "MouseOver" gives "MouseOver"
Detach(StateManagerAttachmentData)
Declaration
public virtual void Detach(StateManagerAttachmentData data)
Parameters
StateManagerAttachmentData
data
|
GetAvailableStates(String)
Declaration
public abstract StateDescriptionNode GetAvailableStates(string themeRoleName)
Parameters
System.String
themeRoleName
|
Returns
StateDescriptionNode
|
GetInitialState(RadObject)
Declaration
public virtual string GetInitialState(RadObject item)
Parameters
RadObject
item
|
Returns
System.String
|
GetStateFallbackList(RadItem)
Declaration
public IEnumerable<string> GetStateFallbackList(RadItem item)
Parameters
RadItem
item
|
Returns
System.Collections.Generic.IEnumerable<System.String>
|
GetStateFullName(String, String)
Declaration
public string GetStateFullName(string itemThemeRole, string stateName)
Parameters
System.String
itemThemeRole
|
System.String
stateName
|
Returns
System.String
|
ItemStateChanged(RadObject, RadPropertyChangedEventArgs)
Declaration
public abstract void ItemStateChanged(RadObject senderItem, RadPropertyChangedEventArgs changeArgs)
Parameters
RadObject
senderItem
|
RadPropertyChangedEventArgs
changeArgs
|
RemoveDefaultVisibleState(String)
Declaration
public void RemoveDefaultVisibleState(string state)
Parameters
System.String
state
|
SetItemState(RadObject, String[])
Combines ThemeRoleName with state names using "." as delimiter and sets the result to AttachedElement.Class
Declaration
protected void SetItemState(RadObject item, params string[] stateNames)
Parameters
RadObject
item
|
System.String[]
stateNames
|
VerifyState(String)
Declaration
public bool VerifyState(string state)
Parameters
System.String
state
|
Returns
System.Boolean
|
VerifyState(String, String)
Declaration
public virtual bool VerifyState(string themeRoleName, string key)
Parameters
System.String
themeRoleName
|
System.String
key
|
Returns
System.Boolean
|