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

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:

C#
public class GanttHeaderAutomationPeer : UIElementAutomationPeer, ITableItemProvider, IGridItemProvider

Inheritance: objectGanttHeaderAutomationPeer

Implements: IGridItemProviderITableItemProvider

Constructors

Initializes a new instance of the GanttHeaderAutomationPeer class.

C#
public GanttHeaderAutomationPeer(UIElement owner, int columnIndex, ColumnDefinition columnDefinition, GanttGridAutomationPeer containingGrid)
Parameters:ownerUIElement

The owner panel.

columnIndexint

The index of the column which contains the header panel.

columnDefinitionColumnDefinition

The source data of the column.

containingGridGanttGridAutomationPeer

The parent Grid.

Properties

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

C#
public int Column { get; }
Property Value:

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

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

C#
public int ColumnSpan { get; }
Property Value:

The number of columns spanned.

ContainingGrid

IRawElementProviderSimple

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

C#
public IRawElementProviderSimple ContainingGrid { get; }
Property Value:

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

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

C#
public int Row { get; }
Property Value:

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

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

C#
public int RowSpan { get; }
Property Value:

The number of rows spanned.

Methods

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

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

The control type.

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.

C#
protected override string GetClassNameCore()
Returns:

string

The class name.

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

C#
public IRawElementProviderSimple[] GetColumnHeaderItems()
Returns:

IRawElementProviderSimple[]

A collection of UI Automation providers.

When overridden in a derived class, is called by .

C#
protected override string GetLocalizedControlTypeCore()
Returns:

string

The type of the control.

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

C#
protected override string GetNameCore()
Returns:

string

The string that contains the label.

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

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

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.

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

C#
public IRawElementProviderSimple[] GetRowHeaderItems()
Returns:

IRawElementProviderSimple[]

A collection of UI Automation providers.