InterfaceICalendar
Represents interface for the Xaml Calendar control wrappers.
Definition
Namespace:ArtOfTest.WebAii.Controls.Xaml
Assembly:ArtOfTest.WebAii.dll
Syntax:
public interface ICalendar : IFrameworkElement, ITargetElement
Derived Classes:
Inherited Members
Properties
HeaderButton
Get the Calendar Header navigation button element.
Declaration
FrameworkElement HeaderButton { get; }
Property Value
MonthViewElement
Get the Calendar MonthView element.
Declaration
FrameworkElement MonthViewElement { get; }
Property Value
NextButton
Get the Calendar Next navigation button element.
PreviousButton
Get the Calendar Previous navigation button element.
Declaration
FrameworkElement PreviousButton { get; }
Property Value
SelectedDate
Get/set the Calendar SelectedDate.
SelectedDates
Get the Calendar SelectedDates collection.
Declaration
SelectedDatesCollection SelectedDates { get; }
Property Value
YearViewElement
Get the Calendar YearView element.
Declaration
FrameworkElement YearViewElement { get; }
Property Value
Methods
Navigate(CalendarNavigationDirection)
Navigate the Calendar depending on the direction.
Declaration
void Navigate(CalendarNavigationDirection direction)
Parameters
direction
The direction to navigate to.
SelectDates(bool, List<DateTime>, bool)
Selects dates in the calendar.
Declaration
void SelectDates(bool simulateRealUser, List<DateTime> dates, bool isInDatePicker)
Parameters
simulateRealUser
Whether to simulate real user clicking on the day elements.
dates
The calendar dates to select.
isInDatePicker
Whether to update the parent date picker if any too.
Remarks
In simulate real user and date picker mode a single date selection is possible only.
SelectMonth(int)
Simulates user selecting the specified month.
SelectYear(int)
Simulates user selecting the specified year.
ZoomOut()
Simulates the user zooming the calendar out via a header button click.
Declaration
void ZoomOut()