Provides a class that exposes the time line section of RadGanttView to UI Automation.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.GanttView.dll
Syntax:
public class GanttTimeLineAutomationPeer : FrameworkElementAutomationPeer, IScrollProvider
Inheritance: objectGanttTimeLineAutomationPeer
Implements:
Constructors
Initializes a new instance of the GanttTimeLineAutomationPeer class.
public GanttTimeLineAutomationPeer(GanttItemsPresenter presenter)
The owner.
Properties
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 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 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.
When overridden in a derived class, is called by .
Gets the pattern.
public override object GetPattern(PatternInterface patternInterface)
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.
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.