Color legend plain property dependency property method
The style class of Border: the properties a style can set on it. Leaves out Content. Framework defaults: Thickness DefaultBorderThickness (1) and ForegroundColor DefaultBorderColor: a frame that shows, around a clear content area.
A class deriving from BaseStyle. The styles page shows it in context.
Names are colored by what they are: a property, a method or an event; values and fields keep the plain color.
Properties
ContentAreaMargin 馃爢
Margin? 路 The inset of the content area (the background and the content) from the border鈥檚 outer edges, used instead of Thickness. Smaller than the thickness, it lets the background reach under the frame鈥檚 transparent pixels. Null (the default) insets the content area by the thickness. Called Padding before 2.0.0; for space between the frame and the content, give the content a Margin.
Thickness 馃爢
Margin 路 The width of the frame per side (Left, Top, Right, Bottom), in units. 1 on every side unless set (DefaultSettings.DefaultBorderThickness).
Methods
BorderStyle()
IsSet() 馃爢
IsSet(string propertyName) 路 Whether the property is assigned to this style, so the style applies it. Pass the name with nameof; an unknown name gives false.
| Parameter | Type | Description |
|---|---|---|
propertyName |
string |
The name of a property of the style; nameof keeps it right. |