Interface
ICalendarView

Represents the CalendarView control wrapper for SL/Wpf interface.

Definition

Namespace:Telerik.WebAii.Controls.Xaml

Assembly:Telerik.WebAii.Controls.Xaml.dll

Syntax:

cs-api-definition
public interface ICalendarView : IControl, IFrameworkElement, ITargetElement

Derived Classes: CalendarViewCalendarView

Inherited Members IControl.IsEnabledIFrameworkElement.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

DisplayMode

Get the current Calendar display mode -- Month, Year, Decade or Century.

Declaration

cs-api-definition
CalendarDisplayMode DisplayMode { get; }

Property Value

CalendarDisplayMode

Index

Get the calendar view index.

Declaration

cs-api-definition
int Index { get; }

Property Value

int

Title

Gets the title of the calendar view.

Declaration

cs-api-definition
string Title { get; }

Property Value

string

Methods

ButtonClick(string)

Simulates user clicking on the calendar button in the view. Uses the firstly found button matching the given text.

Declaration

cs-api-definition
void ButtonClick(string buttonText)

Parameters

buttonText

string

The button text to search for.

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.

Declaration

cs-api-definition
void ButtonClick(string buttonText, int occurrence)

Parameters

buttonText

string

The button text to search for.

occurrence

int

The occurence index of the button with this text.

SelectDayRange(string, int, string, int)

Simulates user dragging to select the days from the given range.

Declaration

cs-api-definition
void SelectDayRange(string firstDay, int firstDayOccurrence, string lastDay, int lastDayOccurrence)

Parameters

firstDay

string

The day to start selection from, uses the first occurence.

firstDayOccurrence

int

The start day occurence in this view.

lastDay

string

The date to end select from, uses the first occurence.

lastDayOccurrence

int

The last day occurence in this view.