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

Automation peer that represents a basic data control.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

C#
public abstract class GridViewDataControlAutomationPeer : FrameworkElementAutomationPeer, IGridProvider, ISelectionProvider, ITableProvider, IScrollProvider

Inheritance: objectGridViewDataControlAutomationPeer

Derived Classes: RadGridViewAutomationPeerRadTreeListViewAutomationPeer

Implements: IGridProviderIScrollProviderISelectionProviderITableProvider

Constructors

Initializes a new instance of the GridViewDataControlAutomationPeer class.

C#
protected GridViewDataControlAutomationPeer(GridViewDataControl owner)
Parameters:ownerGridViewDataControl

The owner.

Properties

Gets a value that indicates whether the control can scroll horizontally.

C#
public bool HorizontallyScrollable { get; }

Gets or set the maximum number of items that can be cached.

C#
public int MaxCachedPeersSize { get; set; }

Gets a value that indicates whether the control can scroll vertically.

C#
public bool VerticallyScrollable { get; }

Methods

Creates automation peer for the specified data item.

C#
public virtual DataItemAutomationPeer CreateDataItemAutomationPeer(object dataItem, int index)
Parameters:dataItemobjectindexintReturns:

DataItemAutomationPeer

Creates automation peer for the specified data item.

C#
public virtual DataItemAutomationPeer CreateDataItemAutomationPeer(object dataItem)
Parameters:dataItemobject

The data item.

Returns:

DataItemAutomationPeer

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

C#
protected string GetBaseItemStatusProperties()
Returns:

string

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

List<AutomationPeer>

C#
protected override string GetClassNameCore()
Returns:

string

C#
protected override string GetHelpTextCore()
Returns:

string

C#
protected override string GetItemStatusCore()
Returns:

string

Gets the text label of the that is associated with this . Called by .

C#
protected override string GetNameCore()
Returns:

string

The text label of the element that is associated with this automation peer.

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

object