Color legend plain property dependency property method
An empty element to draw a dividing line or leave a gap: give it a size along one side, stretch it along the other, and it fills itself with its BackgroundColor. Unless given a color and a size, it is a gray line (DefaultSettings.DefaultSeparatorColor) at least 1 unit thick across whichever way it stretches: a horizontal line in a vertical stack panel or among a list’s rows, a vertical one in a horizontal stack panel. For a gap, give it a transparent background.
Separator derives from ContentContainer and has its members too. The layout page shows it in context, with code and screenshots.
Names are colored by what they are: a plain property, a method, an event or a dependency property, which a style, a binding or an animation can set.
Methods
Separator() 🠆
Separator(string name = null) · Creates a separator. The name is used by GetElementByName.
| Parameter | Type | Description |
|---|---|---|
name |
string |
The element’s Name, which GetElementByName finds it by. Default: null. |