Provides a class that exposes the grid section of RadGanttView to UI Automation.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.GanttView.dll
Syntax:
public class GanttGridAutomationPeer : AutomationPeer, IGridProvider, ITableProvider, IScrollProvider
Inheritance: objectGanttGridAutomationPeer
Implements:
Constructors
Initializes a new instance of the GanttGridAutomationPeer class.
public GanttGridAutomationPeer(GanttItemsPresenter owner)
The owner.
Properties
Gets the total number of columns in a grid.
public int ColumnCount { get; }
The total number of columns in a grid.
Gets a value that indicates whether the control can scroll horizontally.
public bool HorizontallyScrollable { get; }
true if the control can scroll horizontally; otherwise false.
Gets the current horizontal scroll position.
public double HorizontalScrollPercent { get; }
The horizontal scroll position as a percentage of the total content area within the control.
Gets the current horizontal view size.
public double HorizontalViewSize { get; }
The horizontal size of the viewable region as a percentage of the total content area within the control.
Gets the total number of rows in a grid.
public int RowCount { get; }
The total number of rows in a grid.
RowOrColumnMajor
RowOrColumnMajor
Retrieves the primary direction of traversal for the table.
public RowOrColumnMajor RowOrColumnMajor { get; }
The primary direction of traversal.
Gets a value that indicates whether the control can scroll vertically.
public bool VerticallyScrollable { get; }
true if the control can scroll vertically; otherwise false.
Gets the current vertical scroll position.
public double VerticalScrollPercent { get; }
The vertical scroll position as a percentage of the total content area within the control.
Gets the vertical view size.
public double VerticalViewSize { get; }
The vertical size of the viewable region as a percentage of the total content area within the control.
Methods
Gets the accelerator key combinations for the element that is associated with the UI Automation peer.
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetAccessKey().
protected override string GetAccessKeyCore()
The string that contains the access key.
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType().
protected override AutomationControlType GetAutomationControlTypeCore()
AutomationControlType
The control type.
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationId().
protected override string GetAutomationIdCore()
The string that contains the identifier.
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetBoundingRectangle().
protected override Rect GetBoundingRectangleCore()
Rect
The bounding rectangle.
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().
protected override List<AutomationPeer> GetChildrenCore()
List<AutomationPeer>
A list of child System.Windows.Automation.Peers.AutomationPeer elements.
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.
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetClickablePoint().
protected override Point GetClickablePointCore()
Point
A point within the clickable area of the element.
Gets a collection of UI Automation providers that represents all the column headers in a table.
public IRawElementProviderSimple[] GetColumnHeaders()
IRawElementProviderSimple[]
A collection of UI Automation providers.
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetHelpText().
Retrieves the UI Automation provider for the specified cell.
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetItemStatus().
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetItemType().
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetLabeledBy().
protected override AutomationPeer GetLabeledByCore()
AutomationPeer
The System.Windows.Automation.Peers.LabelAutomationPeer for the element that is targeted by the System.Windows.Controls.Label.
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, is called by System.Windows.Automation.Peers.AutomationPeer.GetOrientation().
protected override AutomationOrientation GetOrientationCore()
AutomationOrientation
The orientation of the control.
Gets the pattern.
public override object GetPattern(PatternInterface patternInterface)
Retrieves a collection of UI Automation providers that represents all row headers in the table.
public IRawElementProviderSimple[] GetRowHeaders()
IRawElementProviderSimple[]
A collection of UI Automation providers.
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.HasKeyboardFocus().
protected override bool HasKeyboardFocusCore()
True if the element has keyboard focus; otherwise, false.
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.IsContentElement().
protected override bool IsContentElementCore()
True if the element is a content element; otherwise, false.
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.IsControlElement().
protected override bool IsControlElementCore()
True if the element is a control; otherwise, false.
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.IsEnabled().
protected override bool IsEnabledCore()
True if the automation peer can receive and send events; otherwise, false.
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.IsKeyboardFocusable().
protected override bool IsKeyboardFocusableCore()
True if the element can accept keyboard focus; otherwise, false.
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.IsOffscreen().
protected override bool IsOffscreenCore()
True if the element is not on the screen otherwise, false.
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.IsPassword().
protected override bool IsPasswordCore()
True if the element contains sensitive content; otherwise, false.
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.IsRequiredForForm().
protected override bool IsRequiredForFormCore()
True if the element is must be completed; otherwise, false.
Scrolls the visible region of the content area horizontally and vertically.
public void Scroll(ScrollAmount horizontalAmount, ScrollAmount verticalAmount)
The horizontal increment specific to the control. System.Windows.Automation.ScrollPatternIdentifiers.NoScroll should be passed in if the control cannot be scrolled in this direction.
verticalAmountScrollAmountThe vertical increment specific to the control. System.Windows.Automation.ScrollPatternIdentifiers.NoScroll should be passed in if the control cannot be scrolled in this direction.
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.SetFocus().
protected override void SetFocusCore()
Sets the horizontal and vertical scroll position as a percentage of the total content area within the control.
public void SetScrollPercent(double horizontalPercent, double verticalPercent)
The horizontal position as a percentage of the content area's total range. System.Windows.Automation.ScrollPatternIdentifiers.NoScroll should be passed in if the control cannot be scrolled in this direction.
verticalPercentdoubleThe vertical position as a percentage of the content area's total range. System.Windows.Automation.ScrollPatternIdentifiers.NoScroll should be passed in if the control cannot be scrolled in this direction.