Gets or sets the value that indicates current theme type.

Namespace: Elysium.Parameters
Assembly: Elysium (in Elysium.dll) Version: 2.0.976.4 (2.0.976.4)


See GetTheme, SetTheme
Visual Basic
See GetTheme, SetTheme

Property Value

Type: Nullable<(Of <(<'Theme>)>)>
It can be either one of the values of Theme or null. It might be null when the control has to inherit the value from the parent or use the value that has been set for the entire application. The default value is null.


Identifier fieldThemeProperty
If the parameter is inherithed from application, it's guaranteed that parameter's value will be updated when according value is updated for the application.


C# Copy imageCopy
1var control = new TabControl();
2var currentValue = Parameters.Manager.GetTheme(control);
3Parameters.Manager.SetTheme(control, null);
XAML Copy imageCopy
1<TabControl params:.Manager.Theme="Light"/>

See Also