This documentation is archived and is not being maintained.

BooleanProperty Enumeration

Identifies the Boolean properties of a visual style element.

Namespace:  System.Windows.Forms.VisualStyles
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public enum BooleanProperty

Member nameDescription
TransparentThe image has transparent areas.
AutoSizeThe width of nonclient captions varies with the extent of the text.
BorderOnlyOnly the border of an image is drawn.
CompositedThe control will handle composite drawing.
BackgroundFillThe background of a fixed-size element is a filled rectangle.
GlyphTransparentThe glyph has transparent areas.
GlyphOnlyOnly the glyph should be drawn, not the background.
AlwaysShowSizingBarThe sizing handle will always be displayed.
MirrorImageThe image is mirrored in right-to-left display modes.
UniformSizingThe height and width must be sized equally.
IntegralSizingThe scaling factor must be an integer for fixed-size elements.
SourceGrowThe source image will scale larger when needed.
SourceShrinkThe source image will scale smaller when needed.

The BooleanProperty enumeration represents a set of Boolean properties that describe visual style elements. The BooleanProperty values are used as an argument in the GetBoolean method to specify which property value to retrieve for the element that the VisualStyleRenderer currently represents.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0