Click or drag to resize

IStyleProvider.ApplyCascadingStyle Method

Applies cascading styles to the specified widget.

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

Parameters

container
Type: System.Object
Container that is applying styles. This can be the same as widget.
widget
Type: System.Object
Widget to apply the styles to.
style
Type: System.String
Style to apply to the widget, usually a space delimited list of styles.
Remarks
Cascading styles are applied on a widget when it is loaded onto a form, where styles are usually applied based on the container it is in.
See Also