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

ICalendar Property object.

Definition

Namespace:Telerik.WinControls.UI.Scheduler.ICalendar

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public class CalProperty : IEquatable<CalProperty>

Inheritance: objectCalProperty

Implements: IEquatable<CalProperty>

Constructors

Initializes a new instance of the CalProperty class.

C#
public CalProperty(string name, string value)
Parameters:namestring

The name.

valuestring

The value.

Properties

Gets or sets the property name.

C#
public string Name { get; }
Property Value:

The name.

Gets or sets the parameters.

C#
public Dictionary<string, string> Parameters { get; }
Property Value:

The parameters.

Gets the string with the specified key.

C#
public string this[string key] { get; }
Parameters:keystring

Gets or sets the value.

C#
public string Value { get; }
Property Value:

The value.

Methods

Indicates whether the current object is equal to another object of the same type.

C#
public bool Equals(CalProperty other)
Parameters:otherCalProperty

An object to compare with this object.

Returns:

bool

True if the current object is equal to the other parameter; otherwise, false.

Implements: IEquatable<CalProperty>.Equals(CalProperty)

C#
public bool IsParameterValueDate()
Returns:

bool

C#
public DateTime ToDateTime()
Returns:

DateTime

C#
public DateTime ToDateTime(TimeZoneInfo timeZone)
Parameters:timeZoneTimeZoneInfoReturns:

DateTime

C#
public TimeSpan ToDuration()
Returns:

TimeSpan

C#
public IList<DateTime> ToExceptionDates()
Returns:

IList<DateTime>

C#
public RecurrenceRule ToRecurrenceRule()
Returns:

RecurrenceRule

Returns a string that represents the current object.

C#
public override string ToString()
Returns:

string

A string that represents the current object.

Overrides: object.ToString()

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

string

C#
public TimeSpan ToTimeSpan()
Returns:

TimeSpan