New to Telerik UI for WPFStart a free 30-day trial

Definition

Constructors

Initializes a new instance of the RadScheduleViewAutomationPeer class.

C#
public RadScheduleViewAutomationPeer(RadScheduleView owner, FrameworkElement scheduleViewHeader = null, AppointmentsPanel appointmentsPanel = null, TimeRulerPanel timeRuler = null)
Parameters:ownerRadScheduleView

The associated RadScheduleView owner.

scheduleViewHeaderFrameworkElement

The header of the ScheduleView. The default value is null.

appointmentsPanelAppointmentsPanel

The appointments panel. The default value is null.

timeRulerTimeRulerPanel

The 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.

C#
public bool CanSelectMultiple { get; }

Gets the current control-specific view.

C#
public int CurrentView { get; }

Gets a value that indicates whether the control can scroll horizontally.

C#
public bool HorizontallyScrollable { get; }

Gets the horizontal scroll position as a percentage of the total content area within the control.

C#
public double HorizontalScrollPercent { get; }

Gets the horizontal size of the viewable region as a percentage of the total content area within the control.

C#
public double HorizontalViewSize { get; }

Gets a value that specifies whether the UI Automation provider requires at least one child element to be selected.

C#
public bool IsSelectionRequired { get; }

Gets a value that indicates whether the control can scroll vertically.

C#
public bool VerticallyScrollable { get; }

Gets the vertical scroll position as a percentage of the total content area within the control.

C#
public double VerticalScrollPercent { get; }

Gets the vertical size of the viewable region as a percentage of the total content area within the control.

C#
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().

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

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().

C#
protected override List<AutomationPeer> GetChildrenCore()
Returns:

List<AutomationPeer>

The collection of child elements.

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetLocalizedControlType().

C#
protected override string GetLocalizedControlTypeCore()
Returns:

string

The type of the control.

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().

C#
protected override AutomationOrientation GetOrientationCore()
Returns:

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.

C#
public override object GetPattern(PatternInterface patternInterface)
Parameters:patternInterfacePatternInterface

A value from the enumeration.

Returns:

object

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.

C#
public IRawElementProviderSimple[] GetSelection()
Returns:

IRawElementProviderSimple[]

A collection of UI Automation providers.

Retrieves a collection of control-specific view identifiers.

C#
public int[] GetSupportedViews()
Returns:

int[]

A collection of values that identifies the views available for a UI Automation element.

Retrieves the name of a control-specific view.

C#
public string GetViewName(int viewId)
Parameters:viewIdint

The view identifier.

Returns:

string

A localized name for the view.

Scrolls the visible region of the content area horizontally and vertically.

C#
public void Scroll(ScrollAmount horizontalAmount, ScrollAmount verticalAmount)
Parameters:horizontalAmountScrollAmount

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.

verticalAmountScrollAmount

The 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.

C#
public void SetCurrentView(int viewId)
Parameters:viewIdint

A view identifier.

Sets the horizontal and vertical scroll position as a percentage of the total content area within the control.

C#
public void SetScrollPercent(double horizontalPercent, double verticalPercent)
Parameters:horizontalPercentdouble

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.

verticalPercentdouble

The 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.