StyleProperty
Description
- Derived from
A stylesheet property for a GUI component.
When the value of a stylesheet property is queried for a given Component via Get1, the following logic is applied in order to find the property value:
- 
Build a StyleClass value from Component.StyleClassType and Component.StyleClassVariant of the given Component. 
- 
Make the given Component the current one. 
- 
Make the built StyleClass value the current one. 
- 
If the current Component has a Stylesheet, use Stylesheet.Get to retrieve the property value for the current StyleClass value, if it exists. 
- 
If the property has not been found and StyleClass.SuperClass returns true, make the resulting StyleClass value the current one and continue with 4.
- 
If the property has not been found and Component.Parent does not return null, make the returned Component the current one and continue with 3.
- 
Return the stylesheet property value. Otherwise, return the default value of the property. 
Public / Methods
Get
3 overloads
Returns the value of this style property.
Returns the value of this style property.
Returns the value of this style property.
Set
2 overloads
Sets the value of this style property.
This method uses StyleClass.Root.
- See also
Sets the value of this style property.
- See also
Unset
2 overloads
Un-sets the value of this style property.
This method uses StyleClass.Root.
- See also
Un-sets the value of this style property.
- See also