Class RibbonItemsControlAutomationPeer
Class that provides UI Automation support of RibbonItemsControlAutomationPeer.
Inheritance
Namespace: Syncfusion.Windows.Controls.Tools.AutomationPeer
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class RibbonItemsControlAutomationPeer : ItemsControlAutomationPeer
Constructors
RibbonItemsControlAutomationPeer(ItemsControl)
Initializes a new instance of the RibbonItemsControlAutomationPeer class.
Declaration
public RibbonItemsControlAutomationPeer(ItemsControl ribbonItemsControl)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.ItemsControl | ribbonItemsControl |
Methods
CreateItemAutomationPeer(Object)
Creates a new instance of the ItemAutomationPeer for a data item. The item exists in the Items collection of the associated ItemsControl owner.
Declaration
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)
Parameters
Type | Name | Description |
---|---|---|
System.Object | item | The data item |
Returns
Type | Description |
---|---|
System.Windows.Automation.Peers.ItemAutomationPeer | An object that exposes the data item to UI automation, or null. |
GetAutomationControlTypeCore()
Gets the control type for the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
Type | Description |
---|---|
System.Windows.Automation.Peers.AutomationControlType | The System.Windows.Automation.Peers.AutomationControlType.Custom enumeration value. |
GetClassNameCore()
Gets the name of the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetClassName.
Declaration
protected override string GetClassNameCore()
Returns
Type | Description |
---|---|
System.String | An System.String.Empty string. |
GetHelpTextCore()
Provides the peer's behavior when a UI Automation client calls GetHelpText or an equivalent UI Automation client API.
Declaration
protected override string GetHelpTextCore()
Returns
Type | Description |
---|---|
System.String | The help text. |
GetNameCore()
Provides the peer's behavior when a UI Automation client calls GetName or an equivalent UI Automation client API.
Declaration
protected override string GetNameCore()
Returns
Type | Description |
---|---|
System.String | The name as used by assistive technoloGetClassNameCoreies and other UI Automation clients. |
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 |