Class
PropertySettingCollection

Represents a property settings collection. Property settings are very similar to CSS style properties.

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

cs-api-definition
[TypeConverter(typeof(ExpandableObjectConverter))]
public class PropertySettingCollection : IEnumerable

Inheritance: objectPropertySettingCollection

Implements: IEnumerable

Constructors

PropertySettingCollection()

Declaration

cs-api-definition
public PropertySettingCollection()

Properties

Count

Declaration

cs-api-definition
public int Count { get; }

Property Value

int

OriginalPropertySettings

Gets the original property settings list without any inherited properties.

Declaration

cs-api-definition
public IList<IPropertySetting> OriginalPropertySettings { get; }

Property Value

IList<IPropertySetting>

The list of original property settings.

Methods

Add(IPropertySetting)

Adds a property setting to this collection.

Declaration

cs-api-definition
public void Add(IPropertySetting item)

Parameters

item

IPropertySetting

The property setting to add.

AddRange(IEnumerable<IPropertySetting>)

Adds a range of property settings to this collection.

Declaration

cs-api-definition
public void AddRange(IEnumerable<IPropertySetting> items)

Parameters

items

IEnumerable<IPropertySetting>

The property settings to add.

Clear()

Declaration

cs-api-definition
public void Clear()

Contains(IPropertySetting)

Declaration

cs-api-definition
public bool Contains(IPropertySetting item)

Parameters

item

IPropertySetting

Returns

bool

ContainsInheritedSetting(RadProperty)

Determines whether this collection contains an inherited setting for the specified property.

Declaration

cs-api-definition
public bool ContainsInheritedSetting(RadProperty property)

Parameters

property

RadProperty

The property to check for inherited settings.

Returns

bool

True if an inherited setting exists; otherwise, false.

ContainsSetting(RadProperty)

Determines whether this collection contains a setting for the specified property.

Declaration

cs-api-definition
public bool ContainsSetting(RadProperty property)

Parameters

property

RadProperty

The property to check for settings.

Returns

bool

True if a setting exists; otherwise, false.

CopyTo(IPropertySetting[], int)

Declaration

cs-api-definition
public void CopyTo(IPropertySetting[] array, int arrayIndex)

Parameters

array

IPropertySetting[]

arrayIndex

int

EnumLocalSettings()

Declaration

cs-api-definition
public IEnumerable<IPropertySetting> EnumLocalSettings()

Returns

IEnumerable<IPropertySetting>

FindInheritedSetting(RadProperty)

Finds an inherited property setting for the specified property.

Declaration

cs-api-definition
public IPropertySetting FindInheritedSetting(RadProperty property)

Parameters

property

RadProperty

The property to find an inherited setting for.

Returns

IPropertySetting

The inherited property setting, or null if not found.

FindSetting(RadProperty)

Declaration

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

Parameters

property

RadProperty

Returns

IPropertySetting

Remove(IPropertySetting)

Declaration

cs-api-definition
public bool Remove(IPropertySetting item)

Parameters

item

IPropertySetting

Returns

bool

RemoveSetting(RadProperty)

Declaration

cs-api-definition
public bool RemoveSetting(RadProperty property)

Parameters

property

RadProperty

Returns

bool