Class GanttCellAutomationPeer
Provides a class that exposes a single cell in the RadGanttView grid section to UI Automation.
Inheritance
Namespace: Telerik.Windows.Automation.Peers
Assembly: Telerik.Windows.Controls.GanttView.dll
Syntax
public class GanttCellAutomationPeer : FrameworkElementAutomationPeer, IGridItemProvider
Constructors
GanttCellAutomationPeer(FrameworkElement, Int32, Int32, CellInfo, GanttGridAutomationPeer)
Initializes a new instance of the GanttCellAutomationPeer class.
Declaration
public GanttCellAutomationPeer(FrameworkElement owner, int rowIndex, int columnIndex, CellInfo cellInfo, GanttGridAutomationPeer containingGrid)
Parameters
System.Windows.FrameworkElement
owner
The owner panel. |
System.Int32
rowIndex
The index of the row which contains the owner panel. |
System.Int32
columnIndex
The index of the column which contains the owner panel. |
CellInfo
cellInfo
The source data of the owner panel. |
GanttGridAutomationPeer
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
System.Windows.Automation.Peers.AutomationControlType
The control type. |
GetClassNameCore()
Returns the name of the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.FrameworkElementAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetClassName.
Declaration
protected override string GetClassNameCore()
Returns
System.String
The name of the owner type that is associated with this System.Windows.Automation.Peers.FrameworkElementAutomationPeer. See Remarks. |
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)
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
System.Windows.Automation.Peers.PatternInterface
patternInterface
|
Returns
System.Object
A list of child System.Windows.Automation.Peers.AutomationPeer elements. |