InterfaceIDatePicker
Represents interface for the Xaml DatePicker control wrappers.
Definition
Namespace:ArtOfTest.WebAii.Controls.Xaml
Assembly:ArtOfTest.WebAii.dll
Syntax:
public interface IDatePicker : IFrameworkElement, ITargetElement
Derived Classes:
Inherited Members
Properties
IsDropDownOpen
Get/set whether the drop down is open.
PickerTextBox
Get the picker text box element.
Declaration
IDatePickerTextBox PickerTextBox { get; }
Property Value
SelectedDate
Get the DatePicker selected date.
TogglePopupButton
Get the picker toggle popup button element.
Methods
OpenCalendarPopup(bool)
Open the picker calendar popup.
Declaration
void OpenCalendarPopup(bool simulateRealUser)
Parameters
simulateRealUser
True to find the button and click on it, false to change the state via automation property.
SetText(bool, string, int, int)
Sets new text into the date picker text box.
Declaration
void SetText(bool simulateRealUser, string text, int keyPressTime, int keyHoldTime)
Parameters
simulateRealUser
Whether to simulate typing into the text box or just replace its text.
text
The text to type or set.
keyPressTime
The delay between each press when typing.
keyHoldTime
The delay between pressing and releasing each key when typing.