Appointment
A scheduled event in RadScheduler with Start and End time, Subject as well other optional additional informatioin such as resources or custom attributes.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class Appointment : StateManager, IMarkableStateManager, IStateManager, ISerializable, ICustomTypeDescriptor, ICloneable, IDisposable
Inheritance: objectStateManagerAppointment
Implements:
Inherited Members
Constructors
public Appointment()
public Appointment(object id, DateTime startDate, DateTime endDate, string subject, string recurrenceRule, object recurrenceParentId, RecurrenceState initialState, string timeZoneId)
public Appointment(object id, DateTime startDate, DateTime endDate, string subject, string recurrenceRule, object recurrenceParentId, RecurrenceState initialState)
[SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
protected Appointment(SerializationInfo info, StreamingContext context)
Properties
Gets or sets a value indicating whether the deleting of this appointment is allowed.
public bool AllowDelete { get; set; }
true if the deleting of this appointment is allowed; otherwise, false.
Gets or sets a value indicating whether the editing of this appointment is allowed.
public bool AllowEdit { get; set; }
true if editing of this appointment is allowed; otherwise, false.
Gets the appointment controls.
[Browsable(false)]
[ScriptIgnore]
public IList<AppointmentControl> AppointmentControls { get; }
The appointment controls.
Gets the attributes.
[Browsable(false)]
[ScriptIgnore]
public AttributeCollection Attributes { get; }
The attributes.
Gets or sets the color of the back.
[TypeConverter(typeof(WebColorConverter))]
[ScriptIgnore]
public virtual Color BackColor { get; set; }
The color of the back.
Gets or sets the color of the border.
[TypeConverter(typeof(WebColorConverter))]
[ScriptIgnore]
public virtual Color BorderColor { get; set; }
The color of the border.
Gets or sets the border style.
[ScriptIgnore]
public virtual BorderStyle BorderStyle { get; set; }
The border style.
Gets or sets the width of the border.
[ScriptIgnore]
public virtual Unit BorderWidth { get; set; }
The width of the border.
Gets the client ID.
[Browsable(false)]
[ScriptIgnore]
public string ClientID { get; }
The client ID.
Gets or sets the context menu ID.
public string ContextMenuID { get; set; }
The context menu ID.
Gets or sets the CSS class.
[ScriptIgnore]
public string CssClass { get; set; }
The CSS class.
Gets or sets the data item represented by the Appointment object in the RadScheduler control.
public virtual object DataItem { get; set; }
This property is available only during data binding.
The Appointment description.
public string Description { get; set; }
Gets the DOM elements.
[Browsable(false)]
public IList<string> DomElements { get; }
The DOM elements.
The appointment duration.
[Browsable(false)]
[ScriptIgnore]
public TimeSpan Duration { get; }
The duration can be Zero.
Gets or sets the end.
[ScriptIgnore]
public DateTime End { get; set; }
The end.
Gets or sets the UTC end.
[ScriptIgnore]
public DateTime EndLocal { get; set; }
The UTC end.
Gets the font.
[ScriptIgnore]
public virtual FontInfo Font { get; }
The font.
Gets or sets the ForeColor.
[TypeConverter(typeof(WebColorConverter))]
[ScriptIgnore]
public virtual Color ForeColor { get; set; }
The ForeColor.
Gets or sets the ID.
[ClientPropertyName("id")]
public object ID { get; set; }
The ID.
Gets or sets the owner.
[ScriptIgnore]
public RadScheduler Owner { get; set; }
The owner.
Gets or sets the recurrence parent ID.
public object RecurrenceParentID { get; set; }
The recurrence parent ID.
Gets or sets the recurrence rule.
[ScriptIgnore]
public string RecurrenceRule { get; set; }
The recurrence rule.
Gets or sets the state of the recurrence.
public RecurrenceState RecurrenceState { get; set; }
The state of the recurrence.
A collection of all reminders associated with the appointment
[Browsable(false)]
[ScriptIgnore]
public ReminderCollection Reminders { get; set; }
Gets or sets the resources.
[Browsable(false)]
[ScriptIgnore]
public ResourceCollection Resources { get; set; }
The resources.
Gets or sets the start.
[ScriptIgnore]
public DateTime Start { get; set; }
The start.
Gets or sets the UTC start.
[ScriptIgnore]
public DateTime StartLocal { get; set; }
The UTC start.
The Appointment time zone
public string TimeZoneID { get; set; }
Gets or sets the tool tip.
public string ToolTip { get; set; }
The tool tip.
Methods
Creates a new Appointment object that is a clone of the current instance.
public virtual Appointment Clone()
A new Appointment object that is a clone of the current instance.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Implements:
protected virtual void GetObjectData(SerializationInfo info, StreamingContext context)
protected override void TrackViewState()
Overrides: