Class
GanttCellAutomationPeer

Provides a class that exposes a single cell in the RadGanttView grid section to UI Automation.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.GanttView.dll

Syntax:

cs-api-definition
public class GanttCellAutomationPeer : FrameworkElementAutomationPeer, IGridItemProvider, IScrollItemProvider, ITableItemProvider

Inheritance: objectGanttCellAutomationPeer

Implements: IGridItemProviderIScrollItemProviderITableItemProvider

Constructors

GanttCellAutomationPeer(FrameworkElement, int, int, CellInfo, GanttGridAutomationPeer)

Initializes a new instance of the GanttCellAutomationPeer class.

Declaration

cs-api-definition
public GanttCellAutomationPeer(FrameworkElement owner, int rowIndex, int columnIndex, CellInfo cellInfo, GanttGridAutomationPeer containingGrid)

Parameters

owner

FrameworkElement

The owner panel.

rowIndex

int

The index of the row which contains the owner panel.

columnIndex

int

The index of the column which contains the owner panel.

cellInfo

CellInfo

The source data of the owner panel.

containingGrid

GanttGridAutomationPeer

The parent Grid.

Methods

GetAutomationControlTypeCore()

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType().

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

The control type.

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 Remarks.

GetColumnHeaderItems()

Retrieves a collection of UI Automation providers representing all the column headers associated with a table item or cell.

Declaration

cs-api-definition
public IRawElementProviderSimple[] GetColumnHeaderItems()

Returns

IRawElementProviderSimple[]

A collection of UI Automation providers.

GetNameCore()

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetName().

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

The string that contains the label.

GetPattern(PatternInterface)

Gets the collection of child elements of the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetChildren().

Declaration

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

Parameters

patternInterface

PatternInterface

Returns

object

A list of child System.Windows.Automation.Peers.AutomationPeer elements.

GetRowHeaderItems()

Retrieves a collection of UI Automation providers representing all the row headers associated with a table item or cell.

Declaration

cs-api-definition
public IRawElementProviderSimple[] GetRowHeaderItems()

Returns

IRawElementProviderSimple[]

A collection of UI Automation providers.

ScrollIntoView()

Scrolls the content area in order to display the data item within the visible region (viewport) of the container.

Declaration

cs-api-definition
public void ScrollIntoView()