Class RibbonBarDataAutomationPeer
Class that provides UI Automation support of RibbonBarDataAutomationPeer.
Inheritance
Namespace: Syncfusion.Windows.Controls.Tools.AutomationPeer
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class RibbonBarDataAutomationPeer : ItemAutomationPeer
Constructors
RibbonBarDataAutomationPeer(Object, ItemsControlAutomationPeer)
Initializes a new instance of the RibbonBarDataAutomationPeer class.
Declaration
public RibbonBarDataAutomationPeer(object item, ItemsControlAutomationPeer itemsControlAutomationPeer)
Parameters
Type | Name | Description |
---|---|---|
System.Object | item | An item of RibbonBarData |
System.Windows.Automation.Peers.ItemsControlAutomationPeer | itemsControlAutomationPeer | The control. |
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()
Declaration
protected override string GetClassNameCore()
Returns
Type |
---|
System.String |
GetPattern(PatternInterface)
When overridden in a derived class, gets the control pattern that is associated with the specified PatternInterface.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Automation.Peers.PatternInterface | patternInterface | A value from the PatternInterface enumeration. |
Returns
Type | Description |
---|---|
System.Object | The object that implements the pattern interface; null if this peer does not support this interface. |