Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Syntax:
public class RadScheduleViewAutomationPeer : AutomationPeerBase<RadScheduleView>, ISelectionProvider, IMultipleViewProvider, IScrollProvider
Inheritance: objectAutomationPeerBase<RadScheduleView>RadScheduleViewAutomationPeer
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadScheduleViewAutomationPeer class.
public RadScheduleViewAutomationPeer(RadScheduleView owner, FrameworkElement scheduleViewHeader = null, AppointmentsPanel appointmentsPanel = null, TimeRulerPanel timeRuler = null)
The associated RadScheduleView owner.
scheduleViewHeaderFrameworkElementThe header of the ScheduleView. The default value is null.
appointmentsPanelAppointmentsPanelThe appointments panel. The default value is null.
timeRulerTimeRulerPanelThe time ruler of RadScheduleView. The default value is null.
Properties
Gets a value that specifies whether the UI Automation provider allows more than one child element to be selected concurrently.
public bool CanSelectMultiple { get; }
Gets the current control-specific view.
public int CurrentView { get; }
Gets a value that indicates whether the control can scroll horizontally.
public bool HorizontallyScrollable { get; }
Gets the horizontal scroll position as a percentage of the total content area within the control.
public double HorizontalScrollPercent { get; }
Gets the horizontal size of the viewable region as a percentage of the total content area within the control.
public double HorizontalViewSize { get; }
Gets a value that specifies whether the UI Automation provider requires at least one child element to be selected.
public bool IsSelectionRequired { get; }
Gets a value that indicates whether the control can scroll vertically.
public bool VerticallyScrollable { get; }
Gets the vertical scroll position as a percentage of the total content area within the control.
public double VerticalScrollPercent { get; }
Gets the vertical size of the viewable region as a percentage of the total content area within the control.
public double VerticalViewSize { get; }
Methods
Gets the control type for the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType().
protected override AutomationControlType GetAutomationControlTypeCore()
AutomationControlType
The System.Windows.Automation.Peers.AutomationControlType.Custom enumeration value.
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetChildren().
protected override List<AutomationPeer> GetChildrenCore()
List<AutomationPeer>
The collection of child elements.
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetLocalizedControlType().
Gets a value that indicates whether the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer is laid out in a specific direction. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetOrientation().
protected override AutomationOrientation GetOrientationCore()
AutomationOrientation
The System.Windows.Automation.Peers.AutomationOrientation.None enumeration value.
Gets the control pattern for the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer.
public override object GetPattern(PatternInterface patternInterface)
A value from the enumeration.
Returns:An object that implements the System.Windows.Automation.Provider.ISynchronizedInputProvider interface if patternInterface is System.Windows.Automation.Peers.PatternInterface.SynchronizedInput; otherwise, null.
Retrieves a UI Automation provider for each child element that is selected.
public IRawElementProviderSimple[] GetSelection()
IRawElementProviderSimple[]
A collection of UI Automation providers.
Retrieves a collection of control-specific view identifiers.
public int[] GetSupportedViews()
int[]
A collection of values that identifies the views available for a UI Automation element.
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 current control-specific view.
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.