Click or drag to resize

ContainerStyles Property

Gets the default style provider for this container.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
public DefaultStyleProvider Styles { get; }

Property Value

Type: DefaultStyleProvider
The default style provider for this container.
Use this to apply styles to any child controls of this container. By default, styles will apply to all children, including children of children unless Inherit is set to false. Typically, you would set Inherit to false when creating composite controls that already have all their styles applied and you don't want any other styles to be inherited.
See Also