ClassGanttHeaderAutomationPeer
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:
public class GanttHeaderAutomationPeer : UIElementAutomationPeer, ITableItemProvider, IGridItemProvider
Inheritance: objectGanttHeaderAutomationPeer
Implements:
Constructors
GanttHeaderAutomationPeer(UIElement, int, ColumnDefinition, GanttGridAutomationPeer)
Initializes a new instance of the GanttHeaderAutomationPeer class.
Declaration
public GanttHeaderAutomationPeer(UIElement owner, int columnIndex, ColumnDefinition columnDefinition, GanttGridAutomationPeer containingGrid)
Parameters
owner
UIElement
The owner panel.
columnIndex
The index of the column which contains the header panel.
columnDefinition
The source data of the column.
containingGrid
The parent Grid.
Properties
Column
Gets the ordinal number of the column that contains the cell or item.
Declaration
public int Column { get; }
Property Value
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
public int ColumnSpan { get; }
Property Value
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
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
public int Row { get; }
Property Value
A zero-based ordinal number that identifies the row containing the cell or item.
Methods
GetAutomationControlTypeCore()
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType().
Declaration
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
protected override string GetClassNameCore()
Returns
The class name.
GetColumnHeaderItems()
Retrieves a collection of UI Automation providers representing all the column headers associated with a table item or cell.
Declaration
public IRawElementProviderSimple[] GetColumnHeaderItems()
Returns
IRawElementProviderSimple[]
A collection of UI Automation providers.
GetLocalizedControlTypeCore()
When overridden in a derived class, is called by .
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
The type of the control.
GetNameCore()
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetName().
Declaration
protected override string GetNameCore()
Returns
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
public override object GetPattern(PatternInterface patternInterface)
Parameters
patternInterface
PatternInterface
A value from the System.Windows.Automation.Peers.PatternInterface enumeration.
Returns
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
public IRawElementProviderSimple[] GetRowHeaderItems()
Returns
IRawElementProviderSimple[]
A collection of UI Automation providers.