Visual Basic (Declaration) | |
---|---|
Public MustOverride Property Theme As String |
C# | |
---|---|
public abstract string Theme {get; set;} |
The supplied value can currently be any of the following:
- AeroNormalColor
- Classic
- HighContrast
- LunaHomestead
- LunaMetallic
- LunaNormalColor
- Office2007Black
- Office2007Blue
- Office2007Silver
- Office2010Black
- Office2010Blue
- Office2010Silver
- RoyaleNormalColor
IPropertyInfo propInf = app.Display as IPropertyInfo; string[] validThemes = propInf.ValidValues<string>("Theme");
Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)