Interface
ICalendar

Represents interface for the Xaml Calendar control wrappers.

Definition

Namespace:ArtOfTest.WebAii.Controls.Xaml

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
public interface ICalendar : IFrameworkElement, ITargetElement

Derived Classes: CalendarCalendar

Inherited Members IFrameworkElement.CastAs<T>()IFrameworkElement.Parent<T>()IFrameworkElement.SetProxy(bool)IFrameworkElement.SetUid(string)IFrameworkElement.SetFindInfo(VisualFindInfo)IFrameworkElement.SetXamlTag(string)IFrameworkElement.AssignReference(AutomationReference)IFrameworkElement.SetFocus()IFrameworkElement.GetAutomationProperty(string)IFrameworkElement.GetProperty<T>(string)IFrameworkElement.GetPropertyTypeSafe(string)IFrameworkElement.SetProperty(string, object)IFrameworkElement.ScrollToVisible()IFrameworkElement.UserIFrameworkElement.FindIFrameworkElement.WaitIFrameworkElement.NameIFrameworkElement.AbsoluteSiblingTagIndexIFrameworkElement.ActualWidthIFrameworkElement.ActualHeightIFrameworkElement.TextIFrameworkElement.ToolTipTextIFrameworkElement.TextBlockContentIFrameworkElement.TextLiteralContentIFrameworkElement.ComputedVisibilityIFrameworkElement.UidITargetElement.Match(IFindExpression)ITargetElement.SetDepth(int)ITargetElement.AddChildNode(ITargetElement)ITargetElement.SetClosingTag(ITargetElement)ITargetElement.GetChildren()ITargetElement.GetParent()ITargetElement.GetHostParent()ITargetElement.SetParent(ITargetElement)ITargetElement.Refresh()ITargetElement.GetUniqueHashCode()ITargetElement.GetRectangle()ITargetElement.Capture()ITargetElement.CaptureImage()ITargetElement.GetStringPresentation()ITargetElement.TechnologyTypeITargetElement.DepthITargetElement.IsTestRegionITargetElement.ParsedElementITargetElement.Host

Properties

HeaderButton

Get the Calendar Header navigation button element.

Declaration

cs-api-definition
FrameworkElement HeaderButton { get; }

Property Value

FrameworkElement

MonthViewElement

Get the Calendar MonthView element.

Declaration

cs-api-definition
FrameworkElement MonthViewElement { get; }

Property Value

FrameworkElement

NextButton

Get the Calendar Next navigation button element.

Declaration

cs-api-definition
FrameworkElement NextButton { get; }

Property Value

FrameworkElement

PreviousButton

Get the Calendar Previous navigation button element.

Declaration

cs-api-definition
FrameworkElement PreviousButton { get; }

Property Value

FrameworkElement

SelectedDate

Get/set the Calendar SelectedDate.

Declaration

cs-api-definition
DateTime? SelectedDate { get; set; }

Property Value

DateTime?

SelectedDates

Get the Calendar SelectedDates collection.

Declaration

cs-api-definition
SelectedDatesCollection SelectedDates { get; }

Property Value

SelectedDatesCollection

YearViewElement

Get the Calendar YearView element.

Declaration

cs-api-definition
FrameworkElement YearViewElement { get; }

Property Value

FrameworkElement

Methods

Navigate(CalendarNavigationDirection)

Navigate the Calendar depending on the direction.

Declaration

cs-api-definition
void Navigate(CalendarNavigationDirection direction)

Parameters

direction

CalendarNavigationDirection

The direction to navigate to.

SelectDates(bool, List<DateTime>, bool)

Selects dates in the calendar.

Declaration

cs-api-definition
void SelectDates(bool simulateRealUser, List<DateTime> dates, bool isInDatePicker)

Parameters

simulateRealUser

bool

Whether to simulate real user clicking on the day elements.

dates

List<DateTime>

The calendar dates to select.

isInDatePicker

bool

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.

Declaration

cs-api-definition
void SelectMonth(int month)

Parameters

month

int

The month to select.

SelectYear(int)

Simulates user selecting the specified year.

Declaration

cs-api-definition
void SelectYear(int year)

Parameters

year

int

The year to select.

ZoomOut()

Simulates the user zooming the calendar out via a header button click.

Declaration

cs-api-definition
void ZoomOut()