ClassPropertySettingCollection
Represents a property settings collection. Property settings are very similar to CSS style properties.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class PropertySettingCollection : IEnumerable
Inheritance: objectPropertySettingCollection
Implements:
Constructors
PropertySettingCollection()
Declaration
public PropertySettingCollection()
Properties
OriginalPropertySettings
Gets the original property settings list without any inherited properties.
Declaration
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
public void Add(IPropertySetting item)
Parameters
item
The property setting to add.
AddRange(IEnumerable<IPropertySetting>)
Adds a range of property settings to this collection.
Declaration
public void AddRange(IEnumerable<IPropertySetting> items)
Parameters
items
IEnumerable<IPropertySetting>
The property settings to add.
Clear()
Declaration
public void Clear()
Contains(IPropertySetting)
Declaration
public bool Contains(IPropertySetting item)
Parameters
item
Returns
ContainsInheritedSetting(RadProperty)
Determines whether this collection contains an inherited setting for the specified property.
Declaration
public bool ContainsInheritedSetting(RadProperty property)
Parameters
property
The property to check for inherited settings.
Returns
True if an inherited setting exists; otherwise, false.
ContainsSetting(RadProperty)
Determines whether this collection contains a setting for the specified property.
Declaration
public bool ContainsSetting(RadProperty property)
Parameters
property
The property to check for settings.
Returns
True if a setting exists; otherwise, false.
CopyTo(IPropertySetting[], int)
Declaration
public void CopyTo(IPropertySetting[] array, int arrayIndex)
Parameters
array
arrayIndex
EnumLocalSettings()
Declaration
public IEnumerable<IPropertySetting> EnumLocalSettings()
Returns
IEnumerable<IPropertySetting>
FindInheritedSetting(RadProperty)
Finds an inherited property setting for the specified property.
Declaration
public IPropertySetting FindInheritedSetting(RadProperty property)
Parameters
property
The property to find an inherited setting for.
Returns
The inherited property setting, or null if not found.
FindSetting(RadProperty)
Declaration
public IPropertySetting FindSetting(RadProperty property)
Parameters
property
Returns
Remove(IPropertySetting)
Declaration
public bool Remove(IPropertySetting item)
Parameters
item
Returns
RemoveSetting(RadProperty)
Declaration
public bool RemoveSetting(RadProperty property)
Parameters
property
Returns