In This Article

BackstageTab Class

Represents a backstage tab that appears within an application menu in Backstage view.

public class BackstageTab : TabItem, IKeyTipTarget
Inheritance:
object Visual UIElement FrameworkElement Control ContentControl HeaderedContentControl TabItem object
Implements:
IKeyTipTarget

Constructors

BackstageTab()

Initializes an instance of the class.

public BackstageTab()

Properties

KeyTipAccessText

Gets or sets the key tip access text for the control.

[Localizability(LocalizationCategory.Text)]
public string KeyTipAccessText { get; set; }

Property Value

string:

The key tip access text for the control.

Methods

OnCreateAutomationPeer()

Creates and returns an AutomationPeer object for this type.

protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer:

The AutomationPeer that was created.

OnKeyTipAccessed(string)

Called when key tip access text for the control is typed by the end user.

protected virtual bool OnKeyTipAccessed(string keyTipAccessText)
Parameter Type Description
keyTipAccessText string

The key tip access text that was typed.

Returns

bool:

true if an action was executed that should stop key tip mode; otherwise, false.

Remarks

Implementations of this method should either execute the action associated with the control or move focus to the control so that the end user can take further action such as in a menu.

Fields

KeyTipAccessTextProperty

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

public static readonly DependencyProperty KeyTipAccessTextProperty