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

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

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public class PropertySettingCollection : IEnumerable

Inheritance: objectPropertySettingCollection

Implements: IEnumerable

Constructors

C#
public PropertySettingCollection()

Properties

C#
public int Count { get; }

Gets the original property settings list without any inherited properties.

C#
public IList<IPropertySetting> OriginalPropertySettings { get; }
Property Value:

The list of original property settings.

Methods

Adds a property setting to this collection.

C#
public void Add(IPropertySetting item)
Parameters:itemIPropertySetting

The property setting to add.

Adds a range of property settings to this collection.

C#
public void AddRange(IEnumerable<IPropertySetting> items)
Parameters:itemsIEnumerable<IPropertySetting>

The property settings to add.

C#
public void Clear()
C#
public bool Contains(IPropertySetting item)
Parameters:itemIPropertySettingReturns:

bool

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

C#
public bool ContainsInheritedSetting(RadProperty property)
Parameters:propertyRadProperty

The property to check for inherited settings.

Returns:

bool

True if an inherited setting exists; otherwise, false.

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

C#
public bool ContainsSetting(RadProperty property)
Parameters:propertyRadProperty

The property to check for settings.

Returns:

bool

True if a setting exists; otherwise, false.

C#
public void CopyTo(IPropertySetting[] array, int arrayIndex)
Parameters:arrayIPropertySetting[]arrayIndexint
C#
public IEnumerable<IPropertySetting> EnumLocalSettings()
Returns:

IEnumerable<IPropertySetting>

Finds an inherited property setting for the specified property.

C#
public IPropertySetting FindInheritedSetting(RadProperty property)
Parameters:propertyRadProperty

The property to find an inherited setting for.

Returns:

IPropertySetting

The inherited property setting, or null if not found.

C#
public IPropertySetting FindSetting(RadProperty property)
Parameters:propertyRadPropertyReturns:

IPropertySetting

C#
public bool Remove(IPropertySetting item)
Parameters:itemIPropertySettingReturns:

bool

C#
public bool RemoveSetting(RadProperty property)
Parameters:propertyRadPropertyReturns:

bool