Class
PropertySettingGroup

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

cs-api-definition
public class PropertySettingGroup

Inheritance: objectPropertySettingGroup

Constructors

PropertySettingGroup()

Initializes a new instance of the PropertySettingGroup class.

Declaration

cs-api-definition
public PropertySettingGroup()

PropertySettingGroup(PropertySettingGroup)

Initializes a new instance of the PropertySettingGroup class by using an existing instance.

Declaration

cs-api-definition
public PropertySettingGroup(PropertySettingGroup sourceGroup)

Parameters

sourceGroup

PropertySettingGroup

The PropertySettingGroup to be used as a source.

PropertySettingGroup(Type, Condition, params PropertySetting[])

Initializes a new instance of the PropertySettingGroup class.

Declaration

cs-api-definition
public PropertySettingGroup(Type type, Condition condition, params PropertySetting[] propertySettings)

Parameters

type

Type

condition

Condition

propertySettings

PropertySetting[]

PropertySettingGroup(Type, params PropertySetting[])

Initializes a new instance of the PropertySettingGroup class.

Declaration

cs-api-definition
public PropertySettingGroup(Type type, params PropertySetting[] propertySettings)

Parameters

type

Type

propertySettings

PropertySetting[]

PropertySettingGroup(string)

Initializes a new instance of the PropertySettingGroup class.

Declaration

cs-api-definition
public PropertySettingGroup(string basedOn)

Parameters

basedOn

string

PropertySettingGroup(string, Condition, params PropertySetting[])

Initializes a new instance of the PropertySettingGroup class.

Declaration

cs-api-definition
public PropertySettingGroup(string className, Condition condition, params PropertySetting[] propertySettings)

Parameters

className

string

condition

Condition

propertySettings

PropertySetting[]

PropertySettingGroup(string, ElementSelector)

Initializes a new instance of the PropertySettingGroup class.

Declaration

cs-api-definition
public PropertySettingGroup(string basedOn, ElementSelector selector)

Parameters

basedOn

string

selector

ElementSelector

PropertySettingGroup(string, params PropertySetting[])

Initializes a new instance of the PropertySettingGroup class.

Declaration

cs-api-definition
public PropertySettingGroup(string className, params PropertySetting[] propertySettings)

Parameters

className

string

propertySettings

PropertySetting[]

Fields

BasedOnDelimiter

Declaration

cs-api-definition
public const char BasedOnDelimiter = ','

Field Value

char

Properties

BasedOn

Gets or sets value indicating the key of a repository item which this group is based on.

Declaration

cs-api-definition
public string BasedOn { get; set; }

Property Value

string

PropertySettings

Gets a collection of the property settings for the property setting group.

Declaration

cs-api-definition
public List<PropertySetting> PropertySettings { get; }

Property Value

List<PropertySetting>

Repositories

Gets a collection of repository settings for the property setting group.

Declaration

cs-api-definition
public List<StyleRepository> Repositories { get; }

Property Value

List<StyleRepository>

Selector

Gets the ElementSelector for this property setting group.

Declaration

cs-api-definition
public ElementSelector Selector { get; set; }

Property Value

ElementSelector

Methods

Apply(RadObject)

Applies the property settings contained in this group to the specified element.

Declaration

cs-api-definition
public void Apply(RadObject element)

Parameters

element

RadObject

The element.

AssociateWithRepositoryItem(string)

Declaration

cs-api-definition
public void AssociateWithRepositoryItem(string key)

Parameters

key

string

FindSetting(RadProperty)

Searches for a property setting for the specified property.

Declaration

cs-api-definition
public PropertySetting FindSetting(RadProperty property)

Parameters

property

RadProperty

The property to search for

Returns

PropertySetting

An instance of PropertySetting if successfull.

FindSetting(string)

Searches for a property setting for the specified property.

Declaration

cs-api-definition
public PropertySetting FindSetting(string name)

Parameters

name

string

The name of the property to search for

Returns

PropertySetting

An instance of PropertySetting if successfull.

GetBasedOnRepositoryItems()

Declaration

cs-api-definition
public string[] GetBasedOnRepositoryItems()

Returns

string[]

IsBasedOnRepositoryItem(string)

Declaration

cs-api-definition
public bool IsBasedOnRepositoryItem(string itemKey)

Parameters

itemKey

string

Returns

bool

ResetRepositoryItemAssociation(string)

Declaration

cs-api-definition
public void ResetRepositoryItemAssociation(string itemKey)

Parameters

itemKey

string