Interface IGetThemeProperties<TThemeProperties>
Allows retrieving of layout properties of the given type. When implemented by a visual style, allows widgets to retrieve layout properties from said visual style via GetThemeProperties<TThemeProperties>(ref TThemeProperties, InvalidationMode).
Namespace: Ritchie.Toolbox.VisualStyles
Assembly: Ritchie.Toolbox.dll
Syntax
public interface IGetThemeProperties<TThemeProperties> where TThemeProperties : structType Parameters
| Name | Description | 
|---|---|
| TThemeProperties | Any value type containing layout properties for a given type of widget. | 
Methods
GetThemeProperties(ref TThemeProperties)
Retrieves layout properties and stores them into the given layout properties reference.
Declaration
bool GetThemeProperties(ref TThemeProperties layoutProperties)Parameters
| Type | Name | Description | 
|---|---|---|
| TThemeProperties | layoutProperties | The destination to which layout properties should be stored. | 
Returns
| Type | Description | 
|---|---|
| bool | True if the layout properties have changed, false otherwise. If true, widgets needing these properties will invalidate their layout. |