Class
CalObject

Provides class for iCal objects.

Definition

Namespace:Telerik.Windows.Controls.ScheduleView.ICalendar

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

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

Inheritance: objectCalObject

Implements: IEquatable<CalObject>

Constructors

CalObject(string)

Initializes a new instance of the CalObject class.

Declaration

cs-api-definition
public CalObject(string name)

Parameters

name

string

The name.

Properties

Children

Gets the children objects.

Declaration

cs-api-definition
public Collection<CalObject> Children { get; }

Property Value

Collection<CalObject>

The children.

Name

Gets the name.

Declaration

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

Property Value

string

The name.

Properties

Gets the properties.

Declaration

cs-api-definition
public Collection<CalProperty> Properties { get; }

Property Value

Collection<CalProperty>

The properties.

this[string]

Gets the CalProperty with the specified property name.

Declaration

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

Parameters

propertyName

string

Property Value

CalProperty

Methods

AddChildren(string)

Adds the children.

Declaration

cs-api-definition
public CalObject AddChildren(string name)

Parameters

name

string

The name.

Returns

CalObject

AddProperty(string, string)

Adds the property.

Declaration

cs-api-definition
public CalProperty AddProperty(string key, string value)

Parameters

key

string

The key.

value

string

The value.

Returns

CalProperty

AddProperty(string, string, string, string)

Adds the property.

Declaration

cs-api-definition
public CalProperty AddProperty(string key, string value, string parameterKey, string parameterValue)

Parameters

key

string

The key.

value

string

The value.

parameterKey

string

The parameter key.

parameterValue

string

The parameter value.

Returns

CalProperty

ContainsProperty(string)

Determines whether the specified name contains property.

Declaration

cs-api-definition
public bool ContainsProperty(string name)

Parameters

name

string

The name.

Returns

bool

True if the specified name contains property; otherwise, false.

Equals(CalObject)

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

Declaration

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

Parameters

other

CalObject

An object to compare with this object.

Returns

bool

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

Implements IEquatable<CalObject>.Equals(CalObject)

GetChildrenByName(string)

Gets the child CalObject by name.

Declaration

cs-api-definition
public IList<CalObject> GetChildrenByName(string name)

Parameters

name

string

The name.

Returns

IList<CalObject>

Extension Methods