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