Skip to content

XTPPropertyGridVisualTheme Enumeration

Description

Specifies various visual themes that can be applied to the Property Grid.

Members

Member Description
xtpPropertyGridThemeDefault Specifies that the property grid will use the default theme.
xtpPropertyGridThemeOfficeXP Specifies that the property grid will use the Office XP like theme.
xtpPropertyGridThemeOffice2003 Specifies that the property grid will use the Office 2003 like theme.
xtpPropertyGridThemeOffice2013 Specifies that the property grid will use the Office 2013 like theme.
xtpPropertyGridThemeOffice2016 Specifies that the property grid will use the Office 2016 like theme.
xtpPropertyGridThemeVisualStudio2012Light Specifies that the property grid will use the Visual Studio 2012 Light like theme.
xtpPropertyGridThemeVisualStudio2012Dark Specifies that the property grid will use the Visual Studio 2012 Dark like theme.
xtpPropertyGridThemeVisualStudio2015 Specifies that the property grid will use the Visual Studio 2015 like theme.
xtpPropertyGridThemeResource Specifies that the property grid will use the Office 2007 / 2010 like theme.
xtpPropertyGridThemeNativeWindows10 Specifies that the property grid will use the Native Windows 10 like theme.
xtpPropertyGridThemeVisualStudio2017 Specifies that the property grid will use the Visual Studio 2017 like theme.
xtpPropertyGridThemeVisualStudio2019 Specifies that the property grid will use the Visual Studio 2019 like theme.
xtpPropertyGridThemeVisualStudio2022 Specifies that the property grid will use the Visual Studio 2022 like theme.
xtpPropertyGridThemeNativeWinXP Specifies that the property grid will use the native Windows XP visual theme.
xtpPropertyGridThemeCool Specifies that the property grid will use the 'Cool' theme.
xtpPropertyGridThemeSimple Specifies that the property grid will use the 'Simple' visual theme.
xtpPropertyGridThemeDelphi Specifies that the property grid will use the Delphi-style visual theme.
xtpPropertyGridThemeVisualStudio2005 Specifies that the property grid will use the Visual Studio 2005 like theme.
xtpPropertyGridThemeVisualStudio2010 Specifies that the property grid will use the Visual Studio 2010 like theme.
xtpPropertyGridThemeWhidbey Specifies that the property grid will use the Visual Studio 2005 (Whidbey) like theme.
xtpPropertyGridThemeOffice2007 Specifies that the property grid will use the Office 2007 theme.

Remarks

The XTPPropertyGridVisualTheme enumeration is used to indicate which built-in theme the Property Grid will use.

Visual Theme Examples

xtpGridThemeOffice2003

Office 2003 Theme

xtpGridThemeNativeWinXP

Windows XP Theme

xtpGridThemeDelphi

Delphi Theme

xtpGridThemeWhidbey

Whidbey Theme

xtpGridThemeSimple

Simple Theme

xtpGridThemeDefault

Default Theme

xtpGridThemeCool

Cool Theme

Example

Setting the VisualTheme of the PropertyGrid (Visual Basic)

This sample code illustrates how to change the visual theme of your PropertyGrid to the Office 2003 theme at runtime.

'Sets the theme to the Office 2003 theme.
wndPropertyGrid.VisualTheme = xtpGridThemeOffice2003

See Also

PropertyGrid VisualTheme Property


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.