Click or drag to resize
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.UtilsSerializableDictionaryString, StyleProperty
      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#
[SerializableAttribute]
public class StyleSheet : SerializableDictionary<string, StyleProperty>

The StyleSheet type exposes the following members.

Constructors
  NameDescription
Public methodStyleSheet
Initializes a new instance of the StyleSheet class
Top
Properties
  NameDescription
Public propertyComparer (Inherited from DictionaryString, StyleProperty.)
Public propertyCount (Inherited from DictionaryString, StyleProperty.)
Public propertyItem (Inherited from DictionaryString, StyleProperty.)
Public propertyKeys (Inherited from DictionaryString, StyleProperty.)
Public propertyValues (Inherited from DictionaryString, StyleProperty.)
Top
Methods
  NameDescription
Public methodAdd (Inherited from DictionaryString, StyleProperty.)
Public methodClear (Inherited from DictionaryString, StyleProperty.)
Public methodContainsKey (Inherited from DictionaryString, StyleProperty.)
Public methodContainsValue (Inherited from DictionaryString, StyleProperty.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetEnumerator (Inherited from DictionaryString, StyleProperty.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectData (Inherited from DictionaryString, StyleProperty.)
Public methodGetSchema
Get schema.
(Inherited from SerializableDictionaryTKey, TValue.)
Public methodGetStyleProperty
Return stylesheet property for a given state.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodOnDeserialization
Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.
(Inherited from DictionaryString, StyleProperty.)
Public methodReadXml
Read XML.
(Inherited from SerializableDictionaryTKey, TValue.)
Public methodRemove (Inherited from DictionaryString, StyleProperty.)
Public methodSetStyleProperty
Set a stylesheet property.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue (Inherited from DictionaryString, StyleProperty.)
Public methodUpdateFrom
Update the entire stylesheet from a different stylesheet.
Public methodWriteXml
Write to xml.
(Inherited from SerializableDictionaryTKey, TValue.)
Top
See Also