Gets or sets the value that indicates current theme type in design-time mode.

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

Syntax

C#
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 use the value that has been set for the entire application. The default value is null.

Remarks

Identifier fieldThemeProperty
MetadataAffectsRender

Examples

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

See Also