Class TabPanelItemAutomationPeer
Class that provides UI Automation support for the Ribbon.TabPanelItem content container. Exposes the visual tree children of TabPanelItem to UI Automation clients, ensuring that controls hosted inside TabPanelItem (ComboBox, Button, etc.) are visible in the UIA tree.
Inheritance
Namespace: Syncfusion.Windows.Controls.Tools.AutomationPeer
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class TabPanelItemAutomationPeer : FrameworkElementAutomationPeer
Constructors
TabPanelItemAutomationPeer(FrameworkElement)
Initializes a new instance of the TabPanelItemAutomationPeer class.
Declaration
public TabPanelItemAutomationPeer(FrameworkElement owner)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.FrameworkElement | owner | An instance of the TabPanelItem control (typically a ContentControl or similar container) |
Methods
GetAutomationControlTypeCore()
Gets the control type for the element associated with this automation peer.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
| Type | Description |
|---|---|
| System.Windows.Automation.Peers.AutomationControlType | AutomationControlType.Pane, as TabPanelItem is a content container/pane. |
GetChildrenCore()
Gets the collection of child automation peers for the TabPanelItem. This method recursively exposes all visual tree children to UI Automation.
Declaration
protected override List<AutomationPeer> GetChildrenCore()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer> | A list of AutomationPeer instances representing the children of TabPanelItem, including nested elements like ComboBox, Button, etc. that are hosted within. |
GetClassNameCore()
Gets the name of the control that is associated with this automation peer.
Declaration
protected override string GetClassNameCore()
Returns
| Type | Description |
|---|---|
| System.String | The class name "TabPanelItem". |
GetHelpTextCore()
Gets the help text for the element.
Declaration
protected override string GetHelpTextCore()
Returns
| Type | Description |
|---|---|
| System.String | Help text if available, otherwise a default message. |
GetNameCore()
Gets the name of the element for UI Automation clients.
Declaration
protected override string GetNameCore()
Returns
| Type | Description |
|---|---|
| System.String | The TabPanelItem name, defaulting to "TabPanelItem" if not explicitly set. |