This documentation is archived and is not being maintained.

ClassicBorderStyle Enumeration

Specifics the type of Border to draw.

Namespace:  Microsoft.Windows.Themes
Assembly:  PresentationFramework.Classic (in PresentationFramework.Classic.dll)

public enum class ClassicBorderStyle
<object property="enumerationMemberName" .../>

Member nameDescription
NoneNo border.
RaisedUsed for Button elements in their normal state.
RaisedPressedUsed for Button elements in their pressed state.
RaisedFocusedUsed for Button elements that have keyboard focus or are the default Button.
SunkenUsed for ListBox, TextBox, and CheckBox.
EtchedUsed for GroupBox.
HorizontalLineUsed for horizontal Separator.
VerticalLineUsed for vertical Separator.
TabRightUsed for TabItem.
TabTopUsed for TabItem.
TabLeftUsed for TabItem.
TabBottomUsed for TabItem.
ThinRaisedUsed for top level MenuItem when the mouse or other input device is hovering over them.
ThinPressedUsed for top level MenuItem in their pressed state.
AltRaisedUsed for the Thumb on a ScrollBar in a normal state.
AltPressedUsed for the Thumb on a ScrollBar in their pressed state.
RadioButtonA RadioButton border.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: