Click or drag to resize

IStyleProvider Interface

Interface for a style provider

Namespace:  Eto
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public interface IStyleProvider

The IStyleProvider type exposes the following members.

Properties
  NameDescription
Public propertyInherit
Gets a value indicating whether this IStyleProvider allows inheriting styles from the parent object.
Top
Methods
  NameDescription
Public methodApplyCascadingStyle
Applies cascading styles to the specified widget.
Public methodApplyDefault
Applies default styling to the specified widget after creation.
Public methodApplyStyle
Applies styles to the specified widget
Top
Remarks
This can be used to create your own style engine to apply styles to widgets. The DefaultStyleProvider is a good example of how to implement a style provider.
See Also

Reference