The AutomationPeer associated with the RadMenuItem class.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
[Obsolete("Use the RadMenuItemAutomationPeer that is under the Telerik.Windows.Automation.Peers namespace")]
public class RadMenuItemAutomationPeer : FrameworkElementAutomationPeer, IExpandCollapseProvider, IToggleProvider, IInvokeProvider
Inheritance: objectRadMenuItemAutomationPeer
Derived Classes:
Implements:
Constructors
Initializes a new instance of the RadMenuItemAutomationPeer class. Automation Peer for the RadMenuItem class.
public RadMenuItemAutomationPeer(RadMenuItem owner)
The object that is associated with this AutomationPeer.
Properties
ExpandCollapseState
ExpandCollapseState
IExpandCollapseProvider implementation.
public ExpandCollapseState ExpandCollapseState { get; }
ToggleState
ToggleState
IToggleProvider implementation.
public ToggleState ToggleState { get; }
Methods
IExpandCollapseProvider implementation.
public void Collapse()
IExpandCollapseProvider implementation.
public void Expand()
Returns the access key for the UIElement associated with this AutomationPeer. This method is called by AutomationPeer.GetAccessKey.
protected override string GetAccessKeyCore()
The access key for the UIElement associated with this AutomationPeer.
GetAutomationControlTypeCore()
AutomationControlType
Returns the control type for the UIElement associated with this AutomationPeer. This method is called by AutomationPeer.GetAutomationControlType.
protected override AutomationControlType GetAutomationControlTypeCore()
AutomationControlType
The AutomationControlType.MenuItem enumeration value.
GetChildrenCore()
List<AutomationPeer>
Get the children collection of the UIElement associated with this AutomationPeers. This method is called by AutomationPeer.GetChildren.
protected override List<AutomationPeer> GetChildrenCore()
List<AutomationPeer>
A list of child System.Windows.Automation.Peers.AutomationPeer elements.
Returns the name of the class associated with this AutomationPeer. This method is called by AutomationPeer.GetClassName.
Returns the name of the UIElement associated with this AutomationPeer.
Returns the control pattern for the UIElement that is associated with this AutomationPeer.
public override object GetPattern(PatternInterface patternInterface)
One of the PatternInterface enum values.
Returns:IInvokeProvider implementation.
public void Invoke()
Returns a value that indicates whether the UIElement that is associated with this is understood by the end user as interactive. Optionally, the user might understand the UIElement as contributing to the logical structure of the control in the GUI. This method is called by .
protected override bool IsControlElementCore()
True if the element is interactive; otherwise, false.
IToggleProvider implementation.
public void Toggle()