Class PropertySettingGroup
Inheritance
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class PropertySettingGroup
Constructors
PropertySettingGroup()
Initializes a new instance of the PropertySettingGroup class.
Declaration
public PropertySettingGroup()
PropertySettingGroup(String)
Initializes a new instance of the PropertySettingGroup class.
Declaration
public PropertySettingGroup(string basedOn)
Parameters
System.String
basedOn
|
PropertySettingGroup(String, Condition, PropertySetting[])
Initializes a new instance of the PropertySettingGroup class.
Declaration
public PropertySettingGroup(string className, Condition condition, params PropertySetting[] propertySettings)
Parameters
System.String
className
|
Condition
condition
|
PropertySetting[]
propertySettings
|
PropertySettingGroup(String, ElementSelector)
Initializes a new instance of the PropertySettingGroup class.
Declaration
public PropertySettingGroup(string basedOn, ElementSelector selector)
Parameters
System.String
basedOn
|
ElementSelector
selector
|
PropertySettingGroup(String, PropertySetting[])
Initializes a new instance of the PropertySettingGroup class.
Declaration
public PropertySettingGroup(string className, params PropertySetting[] propertySettings)
Parameters
System.String
className
|
PropertySetting[]
propertySettings
|
PropertySettingGroup(Type, Condition, PropertySetting[])
Initializes a new instance of the PropertySettingGroup class.
Declaration
public PropertySettingGroup(Type type, Condition condition, params PropertySetting[] propertySettings)
Parameters
System.Type
type
|
Condition
condition
|
PropertySetting[]
propertySettings
|
PropertySettingGroup(Type, PropertySetting[])
Initializes a new instance of the PropertySettingGroup class.
Declaration
public PropertySettingGroup(Type type, params PropertySetting[] propertySettings)
Parameters
System.Type
type
|
PropertySetting[]
propertySettings
|
PropertySettingGroup(PropertySettingGroup)
Initializes a new instance of the PropertySettingGroup class by using an existing instance.
Declaration
public PropertySettingGroup(PropertySettingGroup sourceGroup)
Parameters
PropertySettingGroup
sourceGroup
The PropertySettingGroup to be used as a source. |
Fields
BasedOnDelimiter
Declaration
public const char BasedOnDelimiter = ','
Field Value
System.Char
|
Properties
BasedOn
Gets or sets value indicating the key of a repository item which this group is based on.
Declaration
public string BasedOn { get; set; }
Property Value
System.String
|
PropertySettings
Gets a collection of the property settings for the property setting group.
Declaration
public List<PropertySetting> PropertySettings { get; }
Property Value
System.Collections.Generic.List<PropertySetting>
|
Repositories
Gets a collection of repository settings for the property setting group.
Declaration
public List<StyleRepository> Repositories { get; }
Property Value
System.Collections.Generic.List<StyleRepository>
|
Selector
Gets the ElementSelector for this property setting group.
Declaration
public ElementSelector Selector { get; set; }
Property Value
ElementSelector
|
Methods
Apply(RadObject)
Applies the property settings contained in this group to the specified element.
Declaration
public void Apply(RadObject element)
Parameters
RadObject
element
The element. |
AssociateWithRepositoryItem(String)
Declaration
public void AssociateWithRepositoryItem(string key)
Parameters
System.String
key
|
FindSetting(String)
Searches for a property setting for the specified property.
Declaration
public PropertySetting FindSetting(string name)
Parameters
System.String
name
The name of the property to search for |
Returns
PropertySetting
An instance of PropertySetting if successfull. |
FindSetting(RadProperty)
Searches for a property setting for the specified property.
Declaration
public PropertySetting FindSetting(RadProperty property)
Parameters
RadProperty
property
The property to search for |
Returns
PropertySetting
An instance of PropertySetting if successfull. |
GetBasedOnRepositoryItems()
Declaration
public string[] GetBasedOnRepositoryItems()
Returns
System.String[]
|
IsBasedOnRepositoryItem(String)
Declaration
public bool IsBasedOnRepositoryItem(string itemKey)
Parameters
System.String
itemKey
|
Returns
System.Boolean
|
ResetRepositoryItemAssociation(String)
Declaration
public void ResetRepositoryItemAssociation(string itemKey)
Parameters
System.String
itemKey
|