Class
RadNavigationViewAutomationPeer

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:

cs-api-definition
public class RadNavigationViewAutomationPeer : SelectorAutomationPeer, IExpandCollapseProvider, ISelectionProvider

Inheritance: objectRadNavigationViewAutomationPeer

Implements: IExpandCollapseProviderISelectionProvider

Constructors

RadNavigationViewAutomationPeer(RadNavigationView)

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

Declaration

cs-api-definition
public RadNavigationViewAutomationPeer(RadNavigationView owner)

Parameters

owner

RadNavigationView

The object that is associated with this AutomationPeer.

Properties

ExpandCollapseState

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

Declaration

cs-api-definition
public ExpandCollapseState ExpandCollapseState { get; }

Property Value

ExpandCollapseState

Methods

Collapse()

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

Declaration

cs-api-definition
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

cs-api-definition
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)

Parameters

item

object

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

cs-api-definition
public void Expand()

GetAutomationControlTypeCore()

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

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

The enumeration value.

GetChildrenCore()

Declaration

cs-api-definition
[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

cs-api-definition
protected override string GetClassNameCore()

Returns

string

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

GetHelpTextCore()

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

GetItemStatusCore()

Declaration

cs-api-definition
protected override string GetItemStatusCore()

Returns

string

GetLocalizedControlTypeCore()

Declaration

cs-api-definition
protected override string GetLocalizedControlTypeCore()

Returns

string

GetNameCore()

When overridden in a derived class, is called by .

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

The name.

GetPattern(PatternInterface)

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

Declaration

cs-api-definition
public override object GetPattern(PatternInterface patternInterface)

Parameters

patternInterface

PatternInterface

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.