ClassicBorderDecorator.BorderStyle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the ClassicBorderStyle used to draw the border of the element.
public:
property Microsoft::Windows::Themes::ClassicBorderStyle BorderStyle { Microsoft::Windows::Themes::ClassicBorderStyle get(); void set(Microsoft::Windows::Themes::ClassicBorderStyle value); };
public Microsoft.Windows.Themes.ClassicBorderStyle BorderStyle { get; set; }
member this.BorderStyle : Microsoft.Windows.Themes.ClassicBorderStyle with get, set
Public Property BorderStyle As ClassicBorderStyle
Property Value
The ClassicBorderStyle used to draw the border of the element.
Remarks
To achieve the Classic look, specify ClassicBorderBrush as the BorderStyle. Any other brush will remove the Classic look and render a border of BorderThickness, except in the case of TabControl elements, which always render in the Classic look.
Dependency Property Information
Item | Value |
---|---|
Identifier field | BorderStyleProperty |
Metadata properties set to true |
AffectsRender, AffectsMeasure, AffectsArrange |