Class DateInput
Defines a
Implements
IElementWrapper<RemoteWebElement>
Inherited Members
Namespace: Legerity.Web.Elements.Core
Assembly: Legerity.Web.dll
Syntax
public class DateInput : TextInput, IElementWrapper<RemoteWebElement>
Constructors
| Improve this Doc View SourceDateInput(IWebElement)
Initializes a new instance of the DateInput class.
Declaration
public DateInput(IWebElement element)
Parameters
Type | Name | Description |
---|---|---|
IWebElement | element | The |
DateInput(RemoteWebElement)
Initializes a new instance of the DateInput class.
Declaration
public DateInput(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Properties
| Improve this Doc View SourceSelectedDate
Gets the value of the date picker as a
Declaration
public virtual DateTime? SelectedDate { get; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> |
Value
Gets the value of the date picker.
Declaration
public virtual string Value { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceSetDate(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 SourceImplicit(RemoteWebElement to DateInput)
Allows conversion of a
Declaration
public static implicit operator DateInput(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Returns
Type | Description |
---|---|
DateInput | The DateInput. |