Class Colors | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
Holds the ColorSchemes that define the Attributes that are used by views to render themselves.
public sealed class Colors : INotifyCollectionChanged, IDictionary<string, ColorScheme?>, ICollection<KeyValuePair<string, ColorScheme?>>, IEnumerable<KeyValuePair<string, ColorScheme?>>, IEnumerable
Inheritance
Colors
Implements
Inherited Members
Properties
Gets a dictionary of defined ColorScheme objects.
Gets the number of elements contained in the ICollection.
Gets a value indicating whether the ICollection is read-only.
Gets or sets the element with the specified key.
Gets an ICollection containing the keys of the IDictionary<TKey, TValue>.
Gets an ICollection containing the values in the IDictionary<TKey, TValue>.
Methods
Add(KeyValuePair<string, ColorScheme?>)
Adds an item to the ICollection.
Adds an element with the provided key and value to the IDictionary<TKey, TValue>.
Removes all items from the ICollection.
Contains(KeyValuePair<string, ColorScheme?>)
Determines whether the ICollection contains a specific value.
Determines whether the IDictionary<TKey, TValue> contains an element with the specified key.
CopyTo(KeyValuePair<string, ColorScheme?>[], int)
Copies the elements of the ICollection to an Array, starting at a particular Array index.
Returns an enumerator that iterates through the collection.
Remove(KeyValuePair<string, ColorScheme?>)
Removes the first occurrence of a specific object from the ICollection.
Removes the element with the specified key from the IDictionary<TKey, TValue>.
Resets the ColorSchemes dictionary to its default values.
TryGetValue(string, out ColorScheme?)
Gets the value associated with the specified key.
Events
Raised when the collection changes.