Interface IDatePicker
An SAPUI5 date picker.
Inherited Members
Namespace: HP.LFT.SDK.SAP.UI5
Assembly: HP.LFT.SDK.dll
Syntax
public interface IDatePicker : IWebElement, ITestObject, IClickable, IWebTestObject, IWebDescriber, ITestObjectDescriber, ILocationInfoProvider, ISupportsNativeObject, IVisibleProvider, ISupportDragAndDrop
Properties
DisplayMode
The manner of displaying the date picker object.
Declaration
DatePickerDisplayMode DisplayMode { get; }
Property Value
| Type | Description |
|---|---|
| DatePickerDisplayMode |
Remarks
Possible values: DatePickerDisplayMode
Months
The list of months contained in this date picker.
Declaration
ReadOnlyCollection<string> Months { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyCollection<string> |
SelectedDates
The date values selected in this date picker.
Declaration
ReadOnlyCollection<DateTime> SelectedDates { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyCollection<DateTime> |
Methods
Deselect(DateTime)
Deselects the date.
Declaration
void Deselect(DateTime date)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | date | The date to clear from the list. |
Next()
Scrolls to the next page of dates.
Declaration
void Next()
Previous()
Scrolls to the previous page of dates.
Declaration
void Previous()
Select(DateTime)
Selects the date.
Declaration
void Select(DateTime date)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | date | The date to select from the list. |