Search Results for

    Show / Hide Table of Contents

    Class CalendarView

    Defines a wrapper for the core UWP CalendarView control.

    Inheritance
    System.Object
    ElementWrapper<WindowsElement>
    WindowsElementWrapper
    CalendarView
    Implements
    IElementWrapper<WindowsElement>
    Inherited Members
    WindowsElementWrapper.Driver
    WindowsElementWrapper.VerifyDriverElementShown(By, Nullable<TimeSpan>)
    WindowsElementWrapper.VerifyDriverElementsShown(By, Nullable<TimeSpan>)
    ElementWrapper<WindowsElement>.Element
    ElementWrapper<WindowsElement>.ElementDriver
    ElementWrapper<WindowsElement>.IsVisible
    ElementWrapper<WindowsElement>.IsEnabled
    ElementWrapper<WindowsElement>.Click()
    ElementWrapper<WindowsElement>.GetAttribute(String)
    ElementWrapper<WindowsElement>.FindElement(By)
    ElementWrapper<WindowsElement>.VerifyElementNotShown(By)
    ElementWrapper<WindowsElement>.VerifyElementShown(By)
    ElementWrapper<WindowsElement>.VerifyElementShown(By, Nullable<TimeSpan>)
    ElementWrapper<WindowsElement>.VerifyElementsShown(By)
    ElementWrapper<WindowsElement>.VerifyElementsShown(By, Nullable<TimeSpan>)
    Namespace: Legerity.Windows.Elements.Core
    Assembly: Legerity.Windows.dll
    Syntax
    public class CalendarView : WindowsElementWrapper, IElementWrapper<WindowsElement>

    Constructors

    | Improve this Doc View Source

    CalendarView(WindowsElement)

    Initializes a new instance of the CalendarView class.

    Declaration
    public CalendarView(WindowsElement element)
    Parameters
    Type Name Description
    WindowsElement element

    The reference.

    Properties

    | Improve this Doc View Source

    Days

    Gets the collection of days associated with the current month in the calendar view.

    Declaration
    public virtual ReadOnlyCollection<AppiumWebElement> Days { get; }
    Property Value
    Type Description
    ReadOnlyCollection<AppiumWebElement>
    | Improve this Doc View Source

    HeaderButton

    Gets the element associated with the header button (change month, year).

    Declaration
    public virtual Button HeaderButton { get; }
    Property Value
    Type Description
    Button
    | Improve this Doc View Source

    NextMonthButton

    Gets the element associated with the next month button.

    Declaration
    public virtual Button NextMonthButton { get; }
    Property Value
    Type Description
    Button
    | Improve this Doc View Source

    PreviousMonthButton

    Gets the element associated with the previous month button.

    Declaration
    public virtual Button PreviousMonthButton { get; }
    Property Value
    Type Description
    Button
    | Improve this Doc View Source

    SelectedDate

    Gets the value of the calendar view as a .

    Declaration
    public virtual DateTime? SelectedDate { get; }
    Property Value
    Type Description
    System.Nullable<DateTime>
    | Improve this Doc View Source

    Value

    Gets the value of the calendar view.

    Declaration
    public virtual string Value { get; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    SetDate(DateTime)

    Sets the selected date of the calendar view.

    Declaration
    public void SetDate(DateTime date)
    Parameters
    Type Name Description
    DateTime date

    The date to set to.

    Operators

    | Improve this Doc View Source

    Implicit(AppiumWebElement to CalendarView)

    Allows conversion of a to the CalendarView without direct casting.

    Declaration
    public static implicit operator CalendarView(AppiumWebElement element)
    Parameters
    Type Name Description
    AppiumWebElement element

    The .

    Returns
    Type Description
    CalendarView

    The CalendarView.

    | Improve this Doc View Source

    Implicit(RemoteWebElement to CalendarView)

    Allows conversion of a to the CalendarView without direct casting.

    Declaration
    public static implicit operator CalendarView(RemoteWebElement element)
    Parameters
    Type Name Description
    RemoteWebElement element

    The .

    Returns
    Type Description
    CalendarView

    The CalendarView.

    | Improve this Doc View Source

    Implicit(WindowsElement to CalendarView)

    Allows conversion of a to the CalendarView without direct casting.

    Declaration
    public static implicit operator CalendarView(WindowsElement element)
    Parameters
    Type Name Description
    WindowsElement element

    The .

    Returns
    Type Description
    CalendarView

    The CalendarView.

    Implements

    IElementWrapper<TElement>

    Extension Methods

    WindowsElementWrapperExtensions.TryWaitUntil<TElementWrapper, TResult>(TElementWrapper, Func<TElementWrapper, TResult>, Nullable<TimeSpan>, Int32, Action<Exception>)
    WindowsElementWrapperExtensions.WaitUntil<TElementWrapper, TResult>(TElementWrapper, Func<TElementWrapper, TResult>, Nullable<TimeSpan>, Int32)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps