Search Results for

    Show / Hide Table of Contents

    Class CalendarDatePicker

    Defines a wrapper for the core UWP CalendarDatePicker control.

    Inheritance
    System.Object
    ElementWrapper<WindowsElement>
    WindowsElementWrapper
    CalendarDatePicker
    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 CalendarDatePicker : WindowsElementWrapper, IElementWrapper<WindowsElement>

    Constructors

    | Improve this Doc View Source

    CalendarDatePicker(WindowsElement)

    Initializes a new instance of the CalendarDatePicker class.

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

    The reference.

    Properties

    | Improve this Doc View Source

    CalendarViewFlyout

    Gets the element associated with the calendar flyout.

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

    SelectedDate

    Gets the value of the calendar date picker 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 date picker.

    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 virtual void SetDate(DateTime date)
    Parameters
    Type Name Description
    DateTime date

    The date to set to.

    Exceptions
    Type Condition
    ElementNotShownException

    Thrown when an element is not shown for the expected locator.

    Operators

    | Improve this Doc View Source

    Implicit(AppiumWebElement to CalendarDatePicker)

    Allows conversion of a to the CalendarDatePicker without direct casting.

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

    The .

    Returns
    Type Description
    CalendarDatePicker

    The CalendarDatePicker.

    | Improve this Doc View Source

    Implicit(RemoteWebElement to CalendarDatePicker)

    Allows conversion of a to the CalendarDatePicker without direct casting.

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

    The .

    Returns
    Type Description
    CalendarDatePicker

    The CalendarDatePicker.

    | Improve this Doc View Source

    Implicit(WindowsElement to CalendarDatePicker)

    Allows conversion of a to the CalendarDatePicker without direct casting.

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

    The .

    Returns
    Type Description
    CalendarDatePicker

    The CalendarDatePicker.

    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