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

Extensions methods for CalObject class.

Definition

Namespace:Telerik.Windows.Controls.ScheduleView.ICalendar

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

C#
public static class CalObjectExtensions

Inheritance: objectCalObjectExtensions

Methods

Replaces the property.

C#
public static void ReplacePropety(this CalObject calObject, string propertyName, string propertyValue)
Parameters:calObjectCalObject

The cal object.

propertyNamestring

Name of the property.

propertyValuestring

The property value.

Toes the time zone.

C#
public static TimeZoneInfo ToTimeZone(this CalObject calObject)
Parameters:calObjectCalObject

The cal object.

Returns:

TimeZoneInfo

Exceptions:

CalendarParseException

CalendarParseException.

Verifies the property is not null.

C#
public static CalProperty VerifyPropertyIsNotNull(this CalObject calObject, string propetyName)
Parameters:calObjectCalObject

The cal object.

propetyNamestring

Name of the property.

Returns:

CalProperty

Exceptions:

CalendarParseException

CalendarParseException.