Skip to content

VisualTheme Property

Description

Gets/Sets the visual theme that is used by PropertyGrid.

Property Type

Read-write property.

Syntax (Visual Basic)

Public Property VisualTheme() As [XTPPropertyGridVisualTheme](XtremePropertyGrid~Enumerations~XTPPropertyGridVisualTheme_EN.md)

Example

Changing 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.

' The PropertyGrid will use the Office2003 theme
wndPropertyGrid.VisualTheme = xtpGridThemeOffice2003

See Also


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