Class
GanttHeaderAutomationPeer

Provides a class that exposes a column header 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 GanttHeaderAutomationPeer : UIElementAutomationPeer, ITableItemProvider, IGridItemProvider

Inheritance: objectGanttHeaderAutomationPeer

Implements: IGridItemProviderITableItemProvider

Constructors

GanttHeaderAutomationPeer(UIElement, int, ColumnDefinition, GanttGridAutomationPeer)

Initializes a new instance of the GanttHeaderAutomationPeer class.

Declaration

cs-api-definition
public GanttHeaderAutomationPeer(UIElement owner, int columnIndex, ColumnDefinition columnDefinition, GanttGridAutomationPeer containingGrid)

Parameters

owner

UIElement

The owner panel.

columnIndex

int

The index of the column which contains the header panel.

columnDefinition

ColumnDefinition

The source data of the column.

containingGrid

GanttGridAutomationPeer

The parent Grid.

Properties

Column

Gets the ordinal number of the column that contains the cell or item.

Declaration

cs-api-definition
public int Column { get; }

Property Value

int

A zero-based ordinal number that identifies the column containing the cell or item.

ColumnSpan

Gets the number of columns spanned by a cell or item.

Declaration

cs-api-definition
public int ColumnSpan { get; }

Property Value

int

The number of columns spanned.

ContainingGrid

Gets a UI Automation provider that implements System.Windows.Automation.Provider.IGridProvider and represents the container of the cell or item.

Declaration

cs-api-definition
public IRawElementProviderSimple ContainingGrid { get; }

Property Value

IRawElementProviderSimple

A UI Automation provider that implements the System.Windows.Automation.GridPattern and represents the cell or item container.

Row

Gets the ordinal number of the row that contains the cell or item.

Declaration

cs-api-definition
public int Row { get; }

Property Value

int

A zero-based ordinal number that identifies the row containing the cell or item.

RowSpan

Gets the number of rows spanned by a cell or item.

Declaration

cs-api-definition
public int RowSpan { get; }

Property Value

int

The number of rows spanned.

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()

Gets a name that is used with System.Windows.Automation.Peers.AutomationControlType, to differentiate the control that is represented by this System.Windows.Automation.Peers.AutomationPeer.

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

The class name.

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.

GetLocalizedControlTypeCore()

When overridden in a derived class, is called by .

Declaration

cs-api-definition
protected override string GetLocalizedControlTypeCore()

Returns

string

The type of the control.

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)

When overridden in a derived class, gets the control pattern that is associated with the specified System.Windows.Automation.Peers.PatternInterface.

Declaration

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

Parameters

patternInterface

PatternInterface

A value from the System.Windows.Automation.Peers.PatternInterface enumeration.

Returns

object

The object that implements the pattern interface; null if this peer does not support this interface.

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.