New to Telerik UI for WPFStart a free 30-day trial

Class containing extensions methods used when Import/Export appointments to ICal.

Definition

Namespace:Telerik.Windows.Controls.ScheduleView.ICalendar

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

C#
public static class CalPropertyExtensions

Inheritance: objectCalPropertyExtensions

Methods

Determines whether the parameter is a valid date.

C#
public static bool IsParameterValeDate(this CalProperty property)
Parameters:propertyCalPropertyReturns:

bool

Converts the given property to DateTime.

C#
public static DateTime ToDateTime(this CalProperty property, TimeZoneInfo timeZone)
Parameters:propertyCalProperty

The property.

timeZoneTimeZoneInfo

The time zone.

Returns:

DateTime

Converts the given property to DateTime.

C#
public static DateTime ToDateTime(this CalProperty property)
Parameters:propertyCalProperty

The property.

Returns:

DateTime

Converts the given property to TimeSpan.

C#
public static TimeSpan ToDuration(this CalProperty property)
Parameters:propertyCalProperty

The property.

Returns:

TimeSpan

Converts the property to a date where an exception exists.

C#
public static IList<DateTime> ToExceptionDates(this CalProperty property)
Parameters:propertyCalProperty

The property.

Returns:

IList<DateTime>

Converts the given property to a recurrence pattern.

C#
public static RecurrencePattern ToRecurrencePattern(this CalProperty property)
Parameters:propertyCalProperty

The property.

Returns:

RecurrencePattern

Converts the given property to String.

C#
public static string ToText(this CalProperty property)
Parameters:propertyCalProperty

The property.

Returns:

string

Converts the given property to TimeSpan.

C#
public static TimeSpan ToTimeSpan(this CalProperty property)
Parameters:propertyCalProperty

The property.

Returns:

TimeSpan