Class DocumentTabControlAutomationPeer
Represents the DocumentTabControlAutomationPeer class
Inheritance
Implements
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class DocumentTabControlAutomationPeer : FrameworkElementAutomationPeer, IInvokeProvider, ISelectionItemProvider
Constructors
DocumentTabControlAutomationPeer(DocumentTabControl)
Initilalize new instance of the DocumentTabControlAutomationPeer class
Declaration
public DocumentTabControlAutomationPeer(DocumentTabControl control)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentTabControl | control | The control |
Properties
IsSelected
Gets a value indicating whether the element is currently selected.
Declaration
public bool IsSelected { get; }
Property Value
| Type |
|---|
| System.Boolean |
SelectionContainer
Gets the automation peer of the selection container for this element. Returns the parent TabControlExt's automation peer.
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()
GetAutomationControlTypeCore()
Gets the control type for UI Automation. This helps assistive technologies understand the role of the control in the UI.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
| Type | Description |
|---|---|
| System.Windows.Automation.Peers.AutomationControlType | An System.Windows.Automation.Peers.AutomationControlType value indicating that this control is a Tab. |
GetHelpTextCore()
Gets the help text associated with the control for UI Automation. This text provides additional context or guidance to assistive technologies.
Declaration
protected override string GetHelpTextCore()
Returns
| Type | Description |
|---|---|
| System.String | A string describing the purpose of the control: "This is Document Container of DockingManager". |
GetNameCore()
Gets the name of the control for UI Automation. This name is used by assistive technologies to identify the control.
Declaration
protected override string GetNameCore()
Returns
| Type | Description |
|---|---|
| System.String | A string representing the name of the control, in this case, "DocumentTabControl". |
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.
Declaration
public void Invoke()
RemoveFromSelection()
Removes the element from the selection. For document tabs, this may not be applicable as at least one tab must be selected.
Declaration
public void RemoveFromSelection()
Select()
Selects the document tab and activates the corresponding document. This implementation of ISelectionItemProvider.Select() makes the tab active in the same manner as a mouse click would.
Declaration
public void Select()