Search Results for

    Show / Hide Table of Contents

    Class DatePicker

    Defines a wrapper for the core DatePicker control.

    Inheritance
    System.Object
    UnoElementWrapper
    DatePicker
    Inherited Members
    UnoElementWrapper.Element
    UnoElementWrapper.Driver
    UnoElementWrapper.IsEnabled
    UnoElementWrapper.IsVisible
    UnoElementWrapper.FindElement(By)
    UnoElementWrapper.FindElements(By)
    UnoElementWrapper.Click()
    UnoElementWrapper.GetAttribute(String)
    UnoElementWrapper.VerifyElementShown(By)
    UnoElementWrapper.VerifyElementShown(By, Nullable<TimeSpan>)
    UnoElementWrapper.VerifyElementsShown(By)
    UnoElementWrapper.VerifyElementsShown(By, Nullable<TimeSpan>)
    UnoElementWrapper.VerifyElementNotShown(By)
    UnoElementWrapper.VerifyDriverElementShown(By, Nullable<TimeSpan>)
    UnoElementWrapper.VerifyDriverElementsShown(By, Nullable<TimeSpan>)
    Namespace: Legerity.Uno.Elements
    Assembly: Legerity.Uno.dll
    Syntax
    public class DatePicker : UnoElementWrapper

    Constructors

    | Improve this Doc View Source

    DatePicker(IWebElement)

    Initializes a new instance of the DatePicker class.

    Declaration
    public DatePicker(IWebElement element)
    Parameters
    Type Name Description
    IWebElement element

    The reference.

    | Improve this Doc View Source

    DatePicker(RemoteWebElement)

    Initializes a new instance of the DatePicker class.

    Declaration
    public DatePicker(RemoteWebElement element)
    Parameters
    Type Name Description
    RemoteWebElement element

    The reference.

    Properties

    | Improve this Doc View Source

    SelectedDate

    Gets the date value of the date picker.

    Declaration
    public DateTime? SelectedDate { get; }
    Property Value
    Type Description
    System.Nullable<DateTime>

    Methods

    | Improve this Doc View Source

    SetDate(DateTime)

    Sets the date to the specified date.

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

    The date to set.

    Operators

    | Improve this Doc View Source

    Implicit(RemoteWebElement to DatePicker)

    Allows conversion of a to the DatePicker without direct casting.

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

    The .

    Returns
    Type Description
    DatePicker

    The DatePicker.

    Extension Methods

    ElementWrapperExtensions.WaitUntil<TElementWrapper>(TElementWrapper, Func<TElementWrapper, Boolean>, Nullable<TimeSpan>)
    ElementWrapperExtensions.FindWebElementByXamlType(UnoElementWrapper, String)
    ElementWrapperExtensions.FindElementByXamlName(UnoElementWrapper, String)
    ElementWrapperExtensions.FindElementByAutomationId(UnoElementWrapper, String)
    ElementWrapperExtensions.VerifyNameOrAutomationIdEquals(UnoElementWrapper, String)
    ElementWrapperExtensions.VerifyNameOrAutomationIdContains(UnoElementWrapper, String)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps