AttributeCollection
Provides a key/value attribute bag for editor tools backed by a StateBag.
Definition
Namespace:Telerik.Web.UI.Editor
Assembly:Telerik.Web.UI.dll
Syntax:
public sealed class AttributeCollection
Inheritance: objectAttributeCollection
Inherited Members
Constructors
Properties
Gets a collection containing the keys in the attribute collection.
public ICollection Keys { get; }
Gets or sets an attribute value using a StandardDropDownProperties key.
public string this[StandardDropDownProperties key] { get; set; }
The standard drop-down property key.
Property Value:The attribute value, or null if the key does not exist.
Gets or sets an attribute value by its string key.
public string this[string key] { get; set; }
The attribute key.
Property Value:The attribute value, or null if the key does not exist.
Methods
Removes all attributes from the collection.
public void Clear()
Determines whether the specified object is equal to the current collection by comparing keys and values.
Returns a hash code for the current collection based on its keys and values.
Removes the attribute with the specified key.