Class CalendarView
Defines a
Implements
Inherited Members
Namespace: Legerity.Windows.Elements.Core
Assembly: Legerity.Windows.dll
Syntax
public class CalendarView : WindowsElementWrapper, IElementWrapper<WindowsElement>
Constructors
| Improve this Doc View SourceCalendarView(WindowsElement)
Initializes a new instance of the CalendarView class.
Declaration
public CalendarView(WindowsElement element)
Parameters
Type | Name | Description |
---|---|---|
WindowsElement | element | The |
Properties
| Improve this Doc View SourceDays
Gets the collection of days associated with the current month in the calendar view.
Declaration
public virtual ReadOnlyCollection<AppiumWebElement> Days { get; }
Property Value
Type | Description |
---|---|
ReadOnlyCollection<AppiumWebElement> |
HeaderButton
Gets the element associated with the header button (change month, year).
Declaration
public virtual Button HeaderButton { get; }
Property Value
Type | Description |
---|---|
Button |
NextMonthButton
Gets the element associated with the next month button.
Declaration
public virtual Button NextMonthButton { get; }
Property Value
Type | Description |
---|---|
Button |
PreviousMonthButton
Gets the element associated with the previous month button.
Declaration
public virtual Button PreviousMonthButton { get; }
Property Value
Type | Description |
---|---|
Button |
SelectedDate
Gets the value of the calendar view as a
Declaration
public virtual DateTime? SelectedDate { get; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> |
Value
Gets the value of the calendar view.
Declaration
public virtual string Value { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceSetDate(DateTime)
Sets the selected date of the calendar view.
Declaration
public void SetDate(DateTime date)
Parameters
Type | Name | Description |
---|---|---|
DateTime | date | The date to set to. |
Operators
| Improve this Doc View SourceImplicit(AppiumWebElement to CalendarView)
Allows conversion of a
Declaration
public static implicit operator CalendarView(AppiumWebElement element)
Parameters
Type | Name | Description |
---|---|---|
AppiumWebElement | element | The |
Returns
Type | Description |
---|---|
CalendarView | The CalendarView. |
Implicit(RemoteWebElement to CalendarView)
Allows conversion of a
Declaration
public static implicit operator CalendarView(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Returns
Type | Description |
---|---|
CalendarView | The CalendarView. |
Implicit(WindowsElement to CalendarView)
Allows conversion of a
Declaration
public static implicit operator CalendarView(WindowsElement element)
Parameters
Type | Name | Description |
---|---|---|
WindowsElement | element | The |
Returns
Type | Description |
---|---|
CalendarView | The CalendarView. |