Click or drag to resize
EntityGetStyleProperty Method
Return stylesheet property for a given state.

Namespace:  GeonBit.UI.Entities
Assembly:  GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public StyleProperty GetStyleProperty(
	string property,
	EntityState state = EntityState.Default,
	bool fallbackToDefault = true
)

Parameters

property
Type: SystemString
Property identifier.
state (Optional)
Type: GeonBit.UI.EntitiesEntityState
State to get property for (if undefined will fallback to default state).
fallbackToDefault (Optional)
Type: SystemBoolean
If true and property not found for given state, will fallback to default state.

Return Value

Type: StyleProperty
Style property value for given state or default, or null if undefined.
See Also