Class CalObject
Provides class for iCal objects.
Inheritance
Namespace: Telerik.Windows.Controls.ScheduleView.ICalendar
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public class CalObject : Object, IEquatable<CalObject>
Constructors
CalObject(String)
Initializes a new instance of the CalObject class.
Declaration
public CalObject(string name)
Parameters
System.String
name
The name. |
Properties
Children
Gets the children objects.
Declaration
public Collection<CalObject> Children { get; }
Property Value
System.Collections.ObjectModel.Collection<CalObject>
The children. |
Item[String]
Gets the CalProperty with the specified property name.
Declaration
public CalProperty this[string propertyName] { get; }
Parameters
System.String
propertyName
|
Property Value
CalProperty
|
Name
Gets the name.
Declaration
public string Name { get; }
Property Value
System.String
The name. |
Properties
Gets the properties.
Declaration
public Collection<CalProperty> Properties { get; }
Property Value
System.Collections.ObjectModel.Collection<CalProperty>
The properties. |
Methods
AddChildren(String)
Adds the children.
Declaration
public CalObject AddChildren(string name)
Parameters
System.String
name
The name. |
Returns
CalObject
|
AddProperty(String, String)
Adds the property.
Declaration
public CalProperty AddProperty(string key, string value)
Parameters
System.String
key
The key. |
System.String
value
The value. |
Returns
CalProperty
|
AddProperty(String, String, String, String)
Adds the property.
Declaration
public CalProperty AddProperty(string key, string value, string parameterKey, string parameterValue)
Parameters
System.String
key
The key. |
System.String
value
The value. |
System.String
parameterKey
The parameter key. |
System.String
parameterValue
The parameter value. |
Returns
CalProperty
|
ContainsProperty(String)
Determines whether the specified name contains property.
Declaration
public bool ContainsProperty(string name)
Parameters
System.String
name
The name. |
Returns
System.Boolean
|
Equals(CalObject)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(CalObject other)
Parameters
CalObject
other
An object to compare with this object. |
Returns
System.Boolean
True if the current object is equal to the |
GetChildrenByName(String)
Gets the child CalObject by name.
Declaration
public IList<CalObject> GetChildrenByName(string name)
Parameters
System.String
name
The name. |
Returns
System.Collections.Generic.IList<CalObject>
|