Class
CalProperty

ICalendar Property object.

Definition

Namespace:Telerik.WinControls.UI.Scheduler.ICalendar

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

cs-api-definition
public class CalProperty : IEquatable<CalProperty>

Inheritance: objectCalProperty

Implements: IEquatable<CalProperty>

Constructors

CalProperty(string, string)

Initializes a new instance of the CalProperty class.

Declaration

cs-api-definition
public CalProperty(string name, string value)

Parameters

name

string

The name.

value

string

The value.

Properties

Name

Gets or sets the property name.

Declaration

cs-api-definition
public string Name { get; }

Property Value

string

The name.

Parameters

Gets or sets the parameters.

Declaration

cs-api-definition
public Dictionary<string, string> Parameters { get; }

Property Value

Dictionary<string, string>

The parameters.

Value

Gets or sets the value.

Declaration

cs-api-definition
public string Value { get; }

Property Value

string

The value.

this[string]

Gets the string with the specified key.

Declaration

cs-api-definition
public string this[string key] { get; }

Parameters

key

string

Property Value

string

Methods

Equals(CalProperty)

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

Declaration

cs-api-definition
public bool Equals(CalProperty other)

Parameters

other

CalProperty

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)

IsParameterValueDate()

Declaration

cs-api-definition
public bool IsParameterValueDate()

Returns

bool

ToDateTime()

Declaration

cs-api-definition
public DateTime ToDateTime()

Returns

DateTime

ToDateTime(TimeZoneInfo)

Declaration

cs-api-definition
public DateTime ToDateTime(TimeZoneInfo timeZone)

Parameters

timeZone

TimeZoneInfo

Returns

DateTime

ToDuration()

Declaration

cs-api-definition
public TimeSpan ToDuration()

Returns

TimeSpan

ToExceptionDates()

Declaration

cs-api-definition
public IList<DateTime> ToExceptionDates()

Returns

IList<DateTime>

ToRecurrenceRule()

Declaration

cs-api-definition
public RecurrenceRule ToRecurrenceRule()

Returns

RecurrenceRule

ToString()

Returns a string that represents the current object.

Declaration

cs-api-definition
public override string ToString()

Returns

string

A string that represents the current object.

Overrides object.ToString()

ToText(CalProperty)

Declaration

cs-api-definition
public static string ToText(CalProperty property)

Parameters

property

CalProperty

Returns

string

ToTimeSpan()

Declaration

cs-api-definition
public TimeSpan ToTimeSpan()

Returns

TimeSpan