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
Initializes a new instance of the GanttHeaderAutomationPeer class.
public GanttHeaderAutomationPeer(UIElement owner, int columnIndex, ColumnDefinition columnDefinition, GanttGridAutomationPeer containingGrid)
The owner panel.
columnIndexintThe index of the column which contains the header panel.
columnDefinitionColumnDefinitionThe source data of the column.
containingGridGanttGridAutomationPeerThe parent Grid.
Properties
Gets the ordinal number of the column that contains the cell or item.
public int Column { get; }
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.
public int ColumnSpan { get; }
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.
public IRawElementProviderSimple ContainingGrid { get; }
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.
public int Row { get; }
A zero-based ordinal number that identifies the row containing the cell or item.
Methods
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType().
protected override AutomationControlType GetAutomationControlTypeCore()
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.
Retrieves a collection of UI Automation providers representing all the column headers associated with a table item or cell.
public IRawElementProviderSimple[] GetColumnHeaderItems()
IRawElementProviderSimple[]
A collection of UI Automation providers.
When overridden in a derived class, is called by .
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetName().
When overridden in a derived class, gets the control pattern that is associated with the specified System.Windows.Automation.Peers.PatternInterface.
public override object GetPattern(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.
Retrieves a collection of UI Automation providers representing all the row headers associated with a table item or cell.
public IRawElementProviderSimple[] GetRowHeaderItems()
IRawElementProviderSimple[]
A collection of UI Automation providers.