GeonBit.UI Documentation
StyleSheet Class |
Set of style properties for different entity states.
For example, stylesheet can define that when mouse hover over a paragraph, its text turns red.
Inheritance Hierarchy
SystemObject System.Collections.GenericDictionaryString, StyleProperty
GeonBit.UI.EntitiesStyleSheet
GeonBit.UI.EntitiesStyleSheet
Namespace: GeonBit.UI.Entities
Assembly: GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class StyleSheet : Dictionary<string, StyleProperty>
The StyleSheet type exposes the following members.
Constructors
Name | Description | |
---|---|---|
StyleSheet | Initializes a new instance of the StyleSheet class |
Properties
Name | Description | |
---|---|---|
Comparer | (Inherited from DictionaryString, StyleProperty.) | |
Count | (Inherited from DictionaryString, StyleProperty.) | |
Item | (Inherited from DictionaryString, StyleProperty.) | |
Keys | (Inherited from DictionaryString, StyleProperty.) | |
Values | (Inherited from DictionaryString, StyleProperty.) |
Methods
Name | Description | |
---|---|---|
Add | (Inherited from DictionaryString, StyleProperty.) | |
Clear | (Inherited from DictionaryString, StyleProperty.) | |
ContainsKey | (Inherited from DictionaryString, StyleProperty.) | |
ContainsValue | (Inherited from DictionaryString, StyleProperty.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetEnumerator | (Inherited from DictionaryString, StyleProperty.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetObjectData | Implements the ISerializable interface and returns the data needed to serialize the DictionaryTKey, TValue instance. (Inherited from DictionaryString, StyleProperty.) | |
GetStyleProperty |
Return stylesheet property for a given state.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
OnDeserialization | Implements the ISerializable interface and raises the deserialization event when the deserialization is complete. (Inherited from DictionaryString, StyleProperty.) | |
Remove | (Inherited from DictionaryString, StyleProperty.) | |
SetStyleProperty |
Set a stylesheet property.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetValue | (Inherited from DictionaryString, StyleProperty.) | |
UpdateFrom |
Update the entire stylesheet from a different stylesheet.
|
See Also