Provides a UI Automation peer for the RadNavigationView class, enabling automation clients to interact with the navigation view control. This class exposes properties and operations that facilitate automation, including the ability to expand and collapse the navigation pane, retrieve control types, handle selection, and manage custom property values. The class inherits from SelectorAutomationPeer and implements the IExpandCollapseProvider and ISelectionProvider interfaces to provide expanded capabilities for UI automation.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
public class RadNavigationViewAutomationPeer : SelectorAutomationPeer, IExpandCollapseProvider, ISelectionProvider
Inheritance: objectRadNavigationViewAutomationPeer
Implements:
Constructors
Initializes a new instance of the RadNavigationViewAutomationPeer class. Automation Peer for the RadNavigationView class.
public RadNavigationViewAutomationPeer(RadNavigationView owner)
The object that is associated with this AutomationPeer.
Properties
ExpandCollapseState
ExpandCollapseState
Gets the state, expanded or collapsed, of the control.
public ExpandCollapseState ExpandCollapseState { get; }
Methods
Hides all nodes, controls, or content that are descendants of the control.
public void Collapse()
When overridden in a derived class, creates a new instance of the ItemAutomationPeer for a data item in the collection of this .
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)
The data item that is associated with this ItemAutomationPeer.
Returns:ItemAutomationPeer
The new ItemAutomationPeer created.
Displays all child nodes, controls, or content of the control.
public void Expand()
Gets the control type for the UIElement that is associated with this . This method is called by .
protected override AutomationControlType GetAutomationControlTypeCore()
AutomationControlType
The enumeration value.
Returns the name of the UIElement that is associated with this . This method is called by .
protected override string GetClassNameCore()
The name of the owner type that is associated with this . See "Notes for Inheritors".
When overridden in a derived class, is called by .
Retrieves the specified automation pattern from the current instance of the RadNavigationViewAutomationPeer.
public override object GetPattern(PatternInterface patternInterface)
The automation pattern interface to retrieve.
Returns:An object that represents the requested automation pattern, or null if the requested pattern is not supported by the current instance.