ClassGanttCellAutomationPeer
Provides a class that exposes a single cell in the RadGanttView grid section to UI Automation.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.GanttView.dll
Syntax:
public class GanttCellAutomationPeer : FrameworkElementAutomationPeer, IGridItemProvider, IScrollItemProvider, ITableItemProvider
Inheritance: objectGanttCellAutomationPeer
Implements:
Constructors
GanttCellAutomationPeer(FrameworkElement, int, int, CellInfo, GanttGridAutomationPeer)
Initializes a new instance of the GanttCellAutomationPeer class.
Declaration
public GanttCellAutomationPeer(FrameworkElement owner, int rowIndex, int columnIndex, CellInfo cellInfo, GanttGridAutomationPeer containingGrid)
Parameters
owner
FrameworkElement
The owner panel.
rowIndex
The index of the row which contains the owner panel.
columnIndex
The index of the column which contains the owner panel.
cellInfo
The source data of the owner panel.
containingGrid
The parent Grid.
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()
Returns the name of the UIElement that is associated with this . This method is called by .
Declaration
protected override string GetClassNameCore()
Returns
The name of the owner type that is associated with this . See Remarks.
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.
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)
Gets the collection of child elements of the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetChildren().
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
patternInterface
PatternInterface
Returns
A list of child System.Windows.Automation.Peers.AutomationPeer elements.
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.
ScrollIntoView()
Scrolls the content area in order to display the data item within the visible region (viewport) of the container.
Declaration
public void ScrollIntoView()