Class GanttHeaderAutomationPeer
Provides a class that exposes a column header in the RadGanttView grid section to UI Automation.
Inheritance
Namespace: Telerik.Windows.Automation.Peers
Assembly: Telerik.Windows.Controls.GanttView.dll
Syntax
public class GanttHeaderAutomationPeer : UIElementAutomationPeer, ITableItemProvider, IGridItemProvider
Constructors
GanttHeaderAutomationPeer(UIElement, Int32, ColumnDefinition, GanttGridAutomationPeer)
Initializes a new instance of the GanttHeaderAutomationPeer class.
Declaration
public GanttHeaderAutomationPeer(UIElement owner, int columnIndex, ColumnDefinition columnDefinition, GanttGridAutomationPeer containingGrid)
Parameters
System.Windows.UIElement
owner
The owner panel. |
System.Int32
columnIndex
The index of the column which contains the header panel. |
ColumnDefinition
columnDefinition
The source data of the column. |
GanttGridAutomationPeer
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
System.Int32
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
System.Int32
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
System.Windows.Automation.Provider.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
System.Int32
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
public int RowSpan { get; }
Property Value
System.Int32
The number of rows spanned. |
Methods
GetAutomationControlTypeCore()
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType().
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
System.Windows.Automation.Peers.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
System.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
public IRawElementProviderSimple[] GetColumnHeaderItems()
Returns
System.Windows.Automation.Provider.IRawElementProviderSimple[]
A collection of UI Automation providers. |
GetLocalizedControlTypeCore()
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetLocalizedControlType.
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
System.String
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
System.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
public override object GetPattern(PatternInterface patternInterface)
Parameters
System.Windows.Automation.Peers.PatternInterface
patternInterface
A value from the System.Windows.Automation.Peers.PatternInterface enumeration. |
Returns
System.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
public IRawElementProviderSimple[] GetRowHeaderItems()
Returns
System.Windows.Automation.Provider.IRawElementProviderSimple[]
A collection of UI Automation providers. |