ClassCalendarView
Represents the RadCalendar for Silverlight CalendarView control.
Definition
Namespace:Telerik.WebAii.Controls.Xaml
Assembly:Telerik.WebAii.Controls.Xaml.dll
Syntax:
public class CalendarView : ItemsControl, IAutomationPeer, IPeerConverter, ICalendarView, IControl, IFrameworkElement, ITargetElement
Inheritance: objectAutomationObject<FrameworkElement>FrameworkElementSilverlightTestElementControlItemsControlCalendarView
Implements:
Inherited Members
Constructors
CalendarView()
Initializes a new instance of the CalendarView class.
Declaration
public CalendarView()
Properties
DisplayMode
Get the current Calendar display mode -- Month, Year, Decade or Century.
Declaration
public CalendarDisplayMode DisplayMode { get; }
Property Value
Implements
Index
Get the calendar view index.
Methods
AssignReference(AutomationReference)
Assign the reference and perform your custom class initialization.
Declaration
public override void AssignReference(AutomationReference reference)
Parameters
reference
Overrides
Implements
ButtonClick(string)
Simulates user clicking on the calendar button in the view. Uses the firstly found button matching the given text.
Declaration
public void ButtonClick(string buttonText)
Parameters
buttonText
The button text to search for.
Implements
ButtonClick(string, int)
Simulates user clicking on the calendar button in the view. Uses the button matching the given text depending on the given occurence.
ContainsButton(string)
Get whether the panel contains button with the given text.
GetButton(string)
Get the Calendar button matching the given text.
Declaration
public CalendarButton GetButton(string dateText)
Parameters
dateText
The text to search for.
Returns
The Calendar button matching the given text.
GetButton(string, int)
Get the Calendar button matching the given text.
Declaration
public CalendarButton GetButton(string dateText, int occurrence)
Parameters
dateText
The text to search for.
occurrence
The occurence of the button when there are more than one matching the given text.
Returns
The Calendar button matching the given text.
SelectDayRange(string, int, string, int)
Simulates user dragging to select the days from the given range.
Declaration
public void SelectDayRange(string firstDay, int firstDayOccurrence, string lastDay, int lastDayOccurrence)
Parameters
firstDay
The day to start selection from, uses the first occurence.
firstDayOccurrence
The start day occurence in this view.
lastDay
The date to end select from, uses the first occurence.
lastDayOccurrence
The last day occurence in this view.
Implements
SelectDayRange(string, string)
Simulates user dragging to select the days from the given range.