Click or drag to resize

IStyleProviderApplyStyle Method

Applies styles to the specified widget

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

Parameters

widget
Type: SystemObject
Widget to apply the styles to.
style
Type: SystemString
Style to apply to the widget, usually a space delimited list of styles.
Remarks
This is used for global style providers when applying styles to a widget directly based on its style alone. This is usually applied when the style itself is updated.
See Also