Click or drag to resize

ControlApplyStyles Method

Applies the styles to the specified widget up the parent chain.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
protected virtual void ApplyStyles(
	Object widget,
	string style
)

Parameters

widget
Type: SystemObject
Widget to style.
style
Type: SystemString
Style of the widget to apply.
Remarks
This traverses up the parent chain to apply any cascading styles defined in parent container objects. Call this method on any child widget of a control.
See Also