Click or drag to resize
EntitySetStyleProperty Method
Set a stylesheet property.

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

Parameters

property
Type: SystemString
Property identifier.
value
Type: StyleProperty
Property value.
state (Optional)
Type: GeonBit.UI.EntitiesEntityState
State to set property for.
markAsDirty (Optional)
Type: SystemBoolean
If true, will mark this entity as dirty after this style change.
See Also