Click or drag to resize

IStyleProviderApplyCascadingStyle 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: SystemObject
Container that is applying styles. This can be the same as widget.
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
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