Class TabItemExtAutomationPeer
Provides UI Automation support for the TabItemExt control by implementing System.Windows.Automation.Peers.FrameworkElementAutomationPeer, System.Windows.Automation.Provider.IInvokeProvider and System.Windows.Automation.Provider.ISelectionItemProvider.
Inheritance
Implements
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class TabItemExtAutomationPeer : FrameworkElementAutomationPeer, IInvokeProvider, ISelectionItemProvider
Constructors
TabItemExtAutomationPeer(TabItemExt, Object)
Intialize the new instance of the TabItemExtAutomationPeerclass.
Declaration
public TabItemExtAutomationPeer(TabItemExt control, object header)
Parameters
| Type | Name | Description |
|---|---|---|
| TabItemExt | control | The Control |
| System.Object | header | The header |
Properties
IsSelected
Gets a value indicating whether this tab item is currently selected.
Declaration
public bool IsSelected { get; }
Property Value
| Type |
|---|
| System.Boolean |
SelectionContainer
Gets the automation peer of the selection container (the parent tab strip) for this element.
Declaration
public IRawElementProviderSimple SelectionContainer { get; }
Property Value
| Type |
|---|
| System.Windows.Automation.Provider.IRawElementProviderSimple |
Methods
AddToSelection()
Adds the element to the selection.
Declaration
public void AddToSelection()
GetAccessKeyCore()
Gets the access key for the associated TabItemExt control.
Declaration
protected override string GetAccessKeyCore()
Returns
| Type | Description |
|---|---|
| System.String | A string representing the access key, if available; otherwise, the base implementation. |
GetAutomationControlTypeCore()
Gets the control type for the TabItemExt control.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
| Type |
|---|
| System.Windows.Automation.Peers.AutomationControlType |
GetAutomationIdCore()
Gets the automation ID for the associated TabItemExt control.
Declaration
protected override string GetAutomationIdCore()
Returns
| Type | Description |
|---|---|
| System.String | A string representing the automation ID, derived from the control's content or header. |
GetHelpTextCore()
Gets the access key for the associated TabItemExt control.
Declaration
protected override string GetHelpTextCore()
Returns
| Type | Description |
|---|---|
| System.String | A string representing the access key, if available; otherwise, the base implementation. |
GetNameCore()
Gets the name of the associated TabItemExt control for UI Automation.
Declaration
protected override string GetNameCore()
Returns
| Type | Description |
|---|---|
| System.String | A string representing the name of the control, derived from its content or header. |
GetPattern(PatternInterface)
Gets the control pattern for the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Automation.Peers.PatternInterface | patternInterface | A value from the enumeration. |
Returns
| Type | Description |
|---|---|
| System.Object | returns the pattern |
Invoke()
Represents the invoke method. Activates the tab item by selecting it.
Declaration
public void Invoke()
RemoveFromSelection()
Removes the element from the selection.
Declaration
public void RemoveFromSelection()
Select()
Selects the tab item, activating the corresponding tab item in the same manner as a mouse click would.
Declaration
public void Select()