In This Article

RibbonBackstageHeaderSeparator Class

Represents a separator control used within a RibbonBackstage header, alongside tabs and buttons.

public class RibbonBackstageHeaderSeparator : Separator
Inheritance:
object Visual UIElement FrameworkElement Control Separator object

Constructors

RibbonBackstageHeaderSeparator()

Initializes a new instance of the RibbonBackstageHeaderSeparator class.

public RibbonBackstageHeaderSeparator()

Properties

HeaderAlignment

Gets or sets a RibbonBackstageHeaderAlignment indicating the alignment of the control within the ribbon Backstage header.

public RibbonBackstageHeaderAlignment HeaderAlignment { get; set; }

Property Value

RibbonBackstageHeaderAlignment:

A RibbonBackstageHeaderAlignment indicating the alignment of the control within the ribbon Backstage header. The default value is Top.

Methods

OnCreateAutomationPeer()

Provides an appropriate SeparatorAutomationPeer implementation for this control, as part of the WPF automation infrastructure.

protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer:

The type-specific AutomationPeer implementation.

ToString()

Returns the string representation of this object.

public override string ToString()

Returns

string:

The string representation of this object.

Fields

HeaderAlignmentProperty

Identifies the HeaderAlignment dependency property. This field is read-only.

public static readonly DependencyProperty HeaderAlignmentProperty