New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

C#
public class PropertySettingGroup

Inheritance: objectPropertySettingGroup

Constructors

Initializes a new instance of the PropertySettingGroup class.

C#
public PropertySettingGroup()

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

C#
public PropertySettingGroup(PropertySettingGroup sourceGroup)
Parameters:sourceGroupPropertySettingGroup

The PropertySettingGroup to be used as a source.

Initializes a new instance of the PropertySettingGroup class.

C#
public PropertySettingGroup(string className, Condition condition, params PropertySetting[] propertySettings)
Parameters:classNamestringconditionConditionpropertySettingsPropertySetting[]

Initializes a new instance of the PropertySettingGroup class.

C#
public PropertySettingGroup(string basedOn, ElementSelector selector)
Parameters:basedOnstringselectorElementSelector

Initializes a new instance of the PropertySettingGroup class.

C#
public PropertySettingGroup(string className, params PropertySetting[] propertySettings)
Parameters:classNamestringpropertySettingsPropertySetting[]

Initializes a new instance of the PropertySettingGroup class.

C#
public PropertySettingGroup(string basedOn)
Parameters:basedOnstring

Initializes a new instance of the PropertySettingGroup class.

C#
public PropertySettingGroup(Type type, Condition condition, params PropertySetting[] propertySettings)
Parameters:typeTypeconditionConditionpropertySettingsPropertySetting[]

Initializes a new instance of the PropertySettingGroup class.

C#
public PropertySettingGroup(Type type, params PropertySetting[] propertySettings)
Parameters:typeTypepropertySettingsPropertySetting[]

Fields

C#
public const char BasedOnDelimiter = ','

Properties

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

C#
public string BasedOn { get; set; }

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

C#
public List<PropertySetting> PropertySettings { get; }

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

C#
public List<StyleRepository> Repositories { get; }

Gets the ElementSelector for this property setting group.

C#
public ElementSelector Selector { get; set; }

Methods

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

C#
public void Apply(RadObject element)
Parameters:elementRadObject

The element.

C#
public void AssociateWithRepositoryItem(string key)
Parameters:keystring

Searches for a property setting for the specified property.

C#
public PropertySetting FindSetting(RadProperty property)
Parameters:propertyRadProperty

The property to search for

Returns:

PropertySetting

An instance of PropertySetting if successfull.

Searches for a property setting for the specified property.

C#
public PropertySetting FindSetting(string name)
Parameters:namestring

The name of the property to search for

Returns:

PropertySetting

An instance of PropertySetting if successfull.

C#
public string[] GetBasedOnRepositoryItems()
Returns:

string[]

C#
public bool IsBasedOnRepositoryItem(string itemKey)
Parameters:itemKeystringReturns:

bool

C#
public void ResetRepositoryItemAssociation(string itemKey)
Parameters:itemKeystring