Class
GridViewDataControlAutomationPeer

Automation peer that represents a basic data control.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

cs-api-definition
public abstract class GridViewDataControlAutomationPeer : FrameworkElementAutomationPeer, IGridProvider, ISelectionProvider, ITableProvider, IScrollProvider

Inheritance: objectGridViewDataControlAutomationPeer

Derived Classes: RadGridViewAutomationPeerRadTreeListViewAutomationPeer

Implements: IGridProviderIScrollProviderISelectionProviderITableProvider

Constructors

GridViewDataControlAutomationPeer(GridViewDataControl)

Initializes a new instance of the GridViewDataControlAutomationPeer class.

Declaration

cs-api-definition
protected GridViewDataControlAutomationPeer(GridViewDataControl owner)

Parameters

owner

GridViewDataControl

The owner.

Properties

HorizontallyScrollable

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

Declaration

cs-api-definition
public bool HorizontallyScrollable { get; }

Property Value

bool

MaxCachedPeersSize

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

Declaration

cs-api-definition
public int MaxCachedPeersSize { get; set; }

Property Value

int

VerticallyScrollable

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

Declaration

cs-api-definition
public bool VerticallyScrollable { get; }

Property Value

bool

Methods

CreateDataItemAutomationPeer(object)

Creates automation peer for the specified data item.

Declaration

cs-api-definition
public virtual DataItemAutomationPeer CreateDataItemAutomationPeer(object dataItem)

Parameters

dataItem

object

The data item.

Returns

DataItemAutomationPeer

CreateDataItemAutomationPeer(object, int)

Creates automation peer for the specified data item.

Declaration

cs-api-definition
public virtual DataItemAutomationPeer CreateDataItemAutomationPeer(object dataItem, int index)

Parameters

dataItem

object

index

int

Returns

DataItemAutomationPeer

GetAutomationControlTypeCore()

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

GetBaseItemStatusProperties()

Declaration

cs-api-definition
protected string GetBaseItemStatusProperties()

Returns

string

GetClassNameCore()

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

GetHelpTextCore()

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

GetItemStatusCore()

Declaration

cs-api-definition
protected override string GetItemStatusCore()

Returns

string

GetNameCore()

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

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

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

GetPattern(PatternInterface)

Declaration

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

Parameters

patternInterface

PatternInterface

Returns

object