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 SystemUtilGeneric.BoxToValue 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.

See also

Boxed

Put


public method Put → (3)

property in : IStyleProperty

[not-null]
The property name.

value in : object

The boxed property value of null to clear. Use SystemUtilGeneric.ValueToBox 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.

See also

Boxed