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
)
Sub ApplyStyle (
widget As Object,
style As String
)
abstract ApplyStyle :
widget : Object *
style : string -> unit
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