Stylesheet

Description

sealed class Tinman.Engine.GUI.Styles.Stylesheet

A stylesheet that stores style properties of Components.

Public / Methods

Get


public method Get → (2)

property in : IStyleProperty

[not-null]
The property name.

styleClass in : StyleClass

The style class.

returns → object

The boxed property value or null if not found. Use Boxed.Get1 to retrieve the style property value.

Returns the value of a stylesheet property.

Usually, this method is not called directly. Instead, StyleProperty.Get1 should be called on one of the pre-defined constants of Style.

Put


public method Put → (3)

property in : IStyleProperty

[not-null]
The property name.

value in : object

The boxed property value or null to clear. Use Boxed.Set to obtain a boxed value.

styleClass in : StyleClass

The style class.

Sets the value of a stylesheet property.

Usually, this method is not called directly. Instead, StyleProperty.Set1 or StyleProperty.Unset1should be called on one of the pre-defined constants of Style.