ClassRadNavigationViewAutomationPeer
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
RadNavigationViewAutomationPeer(RadNavigationView)
Initializes a new instance of the RadNavigationViewAutomationPeer class. Automation Peer for the RadNavigationView class.
Declaration
public RadNavigationViewAutomationPeer(RadNavigationView owner)
Parameters
owner
The object that is associated with this AutomationPeer.
Properties
ExpandCollapseState
Gets the state, expanded or collapsed, of the control.
Declaration
public ExpandCollapseState ExpandCollapseState { get; }
Property Value
ExpandCollapseState
Methods
Collapse()
Hides all nodes, controls, or content that are descendants of the control.
Declaration
public void Collapse()
CreateItemAutomationPeer(object)
When overridden in a derived class, creates a new instance of the ItemAutomationPeer for a data item in the collection of this .
Declaration
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)
Parameters
item
The data item that is associated with this ItemAutomationPeer.
Returns
ItemAutomationPeer
The new ItemAutomationPeer created.
Expand()
Displays all child nodes, controls, or content of the control.
Declaration
public void Expand()
GetAutomationControlTypeCore()
Gets the control type for the UIElement that is associated with this . This method is called by .
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
AutomationControlType
The enumeration value.
GetChildrenCore()
Declaration
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
protected override List<AutomationPeer> GetChildrenCore()
Returns
List<AutomationPeer>
GetClassNameCore()
Returns the name of the UIElement that is associated with this . This method is called by .
Declaration
protected override string GetClassNameCore()
Returns
The name of the owner type that is associated with this . See "Notes for Inheritors".
GetLocalizedControlTypeCore()
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
GetNameCore()
When overridden in a derived class, is called by .
GetPattern(PatternInterface)
Retrieves the specified automation pattern from the current instance of the RadNavigationViewAutomationPeer.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
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.