ClassicBorderStyle Enumeration

Specifics the type of Border to draw.

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

public enum 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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft