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