Class StylesDictionary
Represents a collection that is used for storing date/style pairs.
Inheritance
System.Object
System.Collections.Hashtable
StylesDictionary
Implements
System.Collections.IDictionary
System.Collections.ICollection
System.Collections.IEnumerable
System.Runtime.Serialization.ISerializable
System.Runtime.Serialization.IDeserializationCallback
System.ICloneable
System.Collections.Specialized.INotifyCollectionChanged
Inherited Members
System.Collections.Hashtable.Clone()
System.Collections.Hashtable.comparer
System.Collections.Hashtable.Contains(System.Object)
System.Collections.Hashtable.ContainsKey(System.Object)
System.Collections.Hashtable.ContainsValue(System.Object)
System.Collections.Hashtable.CopyTo(System.Array, System.Int32)
System.Collections.Hashtable.Count
System.Collections.Hashtable.EqualityComparer
System.Collections.Hashtable.GetEnumerator()
System.Collections.Hashtable.GetHash(System.Object)
System.Collections.Hashtable.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Collections.Hashtable.hcp
System.Collections.Hashtable.IsFixedSize
System.Collections.Hashtable.IsReadOnly
System.Collections.Hashtable.IsSynchronized
System.Collections.Hashtable.KeyEquals(System.Object, System.Object)
System.Collections.Hashtable.Keys
System.Collections.Hashtable.OnDeserialization(System.Object)
System.Collections.Hashtable.Synchronized(System.Collections.Hashtable)
System.Collections.Hashtable.SyncRoot
System.Collections.Hashtable.System.Collections.IEnumerable.GetEnumerator()
System.Collections.Hashtable.Values
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
public class StylesDictionary : Hashtable, IDictionary, ICollection, IEnumerable, ISerializable, IDeserializationCallback, ICloneable, INotifyCollectionChanged
Constructors
StylesDictionary()
Declaration
public StylesDictionary()
Properties
Item[Object]
Implements indexer logic.
Declaration
public override object this[object key] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | String representation of the date parameter. |
Property Value
Type | Description |
---|---|
System.Object | The System.Windows.Style composition of the entry. |
Overrides
System.Collections.Hashtable.Item[System.Object]
Methods
Add(Object, Object)
Adds new entry to the hash table
Declaration
public override void Add(object key, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | String representation of the date parameter. |
System.Object | value | The StyleItem object. |
Overrides
System.Collections.Hashtable.Add(System.Object, System.Object)
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The key must be valid a string representation of System.DateTime value. |
System.NotSupportedException | Collection is used for StyleItem items only. |
System.ArgumentException | Style value of StyleItem parameter cannot be null. |
Clear()
Removes all elements from the hash table
Declaration
public override void Clear()
Overrides
System.Collections.Hashtable.Clear()
Remove(Object)
Removes entry by the key.
Declaration
public override void Remove(object key)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | String representation of the date parameter. |
Overrides
System.Collections.Hashtable.Remove(System.Object)
Events
CollectionChanged
Occurs when the collection changes.
Declaration
public event NotifyCollectionChangedEventHandler CollectionChanged
Event Type
Type |
---|
System.Collections.Specialized.NotifyCollectionChangedEventHandler |
Implements
System.Collections.IDictionary
System.Collections.ICollection
System.Collections.IEnumerable
System.Runtime.Serialization.ISerializable
System.Runtime.Serialization.IDeserializationCallback
System.ICloneable
System.Collections.Specialized.INotifyCollectionChanged