Class RibbonMenuGroupItemAutomationPeer
Class that provides UI Automation support of RibbonMenuGroupItemAutomationPeer .
Inheritance
Namespace: Syncfusion.Windows.Controls.Tools.AutomationPeer
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class RibbonMenuGroupItemAutomationPeer : ItemAutomationPeer
Constructors
RibbonMenuGroupItemAutomationPeer(Object, ItemsControlAutomationPeer)
Initializes a new instance of the RibbonMenuGroupAutomationPeer class.
Declaration
public RibbonMenuGroupItemAutomationPeer(object item, ItemsControlAutomationPeer owner)
Parameters
Type | Name | Description |
---|---|---|
System.Object | item | An instance of object |
System.Windows.Automation.Peers.ItemsControlAutomationPeer | owner | An instance of ItemsControlAutomationPeer |
Methods
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. |
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 |