ערוך

שתף באמצעות


ClassicBorderDecorator.BorderStyle Property

Definition

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

Identifier field BorderStyleProperty
Metadata properties set to true AffectsRender, AffectsMeasure, AffectsArrange

Applies to