TaskTabItem Class
Represents a selectable tab within a TaskTabControl.
public class TaskTabItem : TabItem, IKeyTipTarget
- Inheritance:
- object Visual UIElement FrameworkElement Control ContentControl HeaderedContentControl TabItem object
- Implements:
- IKeyTipTarget
Constructors
TaskTabItem()
Initializes an instance of the class.
public TaskTabItem()
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
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