Share

UIThemeManager.CurrentTheme Property

The current overall theme which impacts the Revit frame and canvas.


Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.3.0.0 (26.3.0.0)

Syntax

C#

public static UITheme CurrentTheme { get; set; }

Property Value

UITheme

Exceptions

ExceptionCondition
ArgumentOutOfRangeException When setting this property: A value passed for an enumeration argument is not a member of that enumeration

See Also

Reference

Was this information helpful?