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

Exposes ItemContainer type to UI Automation.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public class ItemContainerAutomationPeer : ItemsControlAutomationPeer

Inheritance: objectItemContainerAutomationPeer

Constructors

Initializes a new instance of the ItemContainerAutomationPeer class.

C#
public ItemContainerAutomationPeer(ItemContainer owner)
Parameters:ownerItemContainer

The ItemContainer that is associated with this ItemContainerAutomationPeer.

Methods

When overridden in a derived class, creates a new instance of the ItemControlAutomationPeer 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 ItemControlAutomationPeer.

Returns:

ItemAutomationPeer

The new ItemControlAutomationPeer created.

Returns the control type for the element that is associated with this ItemContainerAutomationPeer.

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

The enumeration value.

Remarks:

This method is called by .

Returns the name of the ItemContainer that is associated with this ItemContainerAutomationPeer.

C#
protected override string GetClassNameCore()
Returns:

string

The name of the owner type that is associated with this ItemContainerAutomationPeer.

Remarks:

This method is called by .

C#
protected override string GetHelpTextCore()
Returns:

string

C#
protected override sealed string GetItemStatusCore()
Returns:

string

Returns a localized string that contains the type name of the owner control.

C#
protected override string GetLocalizedControlTypeCore()
Returns:

string

A localized string that contains the type name of the owner control.

Remarks:

This method is called by .