In This Article

AccessTextBlock Class

Represents a TextBlock that always renders access text, useful for within menu items.

public class AccessTextBlock : TextBlock, IServiceProvider
Inheritance:
object Visual UIElement FrameworkElement TextBlock object
Implements:
IServiceProvider

Constructors

AccessTextBlock()

Initializes an instance of the class.

public AccessTextBlock()

Properties

KeyTipAccessText

Gets or sets when the key tip access text.

public string KeyTipAccessText { get; set; }

Property Value

string:

The key tip access text.

Label

Gets or sets when the text label to display.

public string Label { get; set; }

Property Value

string:

The text label to display.

Fields

KeyTipAccessTextProperty

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

public static readonly DependencyProperty KeyTipAccessTextProperty

LabelProperty

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

public static readonly DependencyProperty LabelProperty