Skip to content

Separator class

A rule that divides the elements around it. One device pixel thick, drawn in the theme’s control border colour.

Guide: C# Markup reference: Content

public sealed class Separator : FrameworkElement
name description
Separator() The default constructor.
Orientation { get; set; } Gets or sets the direction of the run this rule divides; Horizontal divides a left-to-right run and so draws a vertical rule.
static readonly OrientationProperty Direction of the run this rule divides, as in Orientation: Horizontal divides a left-to-right run and so draws a vertical rule.