New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class RadNavigationViewAutomationPeer : SelectorAutomationPeer, IExpandCollapseProvider, ISelectionProvider

Inheritance: objectRadNavigationViewAutomationPeer

Implements: IExpandCollapseProviderISelectionProvider

Constructors

Initializes a new instance of the RadNavigationViewAutomationPeer class. Automation Peer for the RadNavigationView class.

C#
public RadNavigationViewAutomationPeer(RadNavigationView owner)
Parameters:ownerRadNavigationView

The object that is associated with this AutomationPeer.

Properties

ExpandCollapseState

ExpandCollapseState

Gets the state, expanded or collapsed, of the control.

C#
public ExpandCollapseState ExpandCollapseState { get; }

Methods

Hides all nodes, controls, or content that are descendants of the control.

C#
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 .

C#
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)
Parameters:itemobject

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.

C#
public void Expand()

Gets the control type for the UIElement that is associated with this . This method is called by .

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

The enumeration value.

C#
protected override List<AutomationPeer> GetChildrenCore()
Returns:

List<AutomationPeer>

Returns the name of the UIElement that is associated with this . This method is called by .

C#
protected override string GetClassNameCore()
Returns:

string

The name of the owner type that is associated with this . See "Notes for Inheritors".

C#
protected override string GetHelpTextCore()
Returns:

string

C#
protected override string GetItemStatusCore()
Returns:

string

C#
protected override string GetLocalizedControlTypeCore()
Returns:

string

When overridden in a derived class, is called by .

C#
protected override string GetNameCore()
Returns:

string

The name.

Retrieves the specified automation pattern from the current instance of the RadNavigationViewAutomationPeer.

C#
public override object GetPattern(PatternInterface patternInterface)
Parameters:patternInterfacePatternInterface

The automation pattern interface to retrieve.

Returns:

object

An object that represents the requested automation pattern, or null if the requested pattern is not supported by the current instance.