Color legend plain property method
The style class of StackPanel: the properties a style can set on it. None. Framework defaults: aligned left and top, HitTest off, InheritState.FromChildren.
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
Orientation 🠆
Orientation · Vertical stacks the items top to bottom, Horizontal left to right. The default is Horizontal.
Methods
StackPanelStyle()
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. |