skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class Appointment

Represents a concrete implementation of an appointment in the scheduler, extending the base Event class. Provides functionality for creating, managing, and manipulating calendar appointments with support for recurring patterns, exceptions, and various appointment properties such as status, location, and time ranges.

Inheritance
System.Object
Event
Appointment
Inherited Members
Event.occurrenceEnumerator
Event.isAllDay
Event.GetOccurrences(DateTime, DateTime)
Event.CreateOccurrence(DateTime)
Event.AddOccurrenceException(IEvent, Boolean)
Event.CreateOccurrence(DateTime, Boolean)
Event.SuspendNotifications()
Event.ResumeNotifications()
Event.OnPropertyChanged(String)
Event.IDataBoundItem.SetDataItem(Object)
Event.Start
Event.End
Event.Duration
Event.Summary
Event.Description
Event.RecurrenceId
Event.Location
Event.ToolTipText
Event.Visible
Event.AllowDelete
Event.AllowEdit
Event.ResourceId
Event.ResourceIds
Event.UniqueId
Event.BackgroundId
Event.StatusId
Event.RecurrenceRule
Event.Occurrences
Event.Exceptions
Event.IsViewCalculated
Event.CultureInfoProvider
Event.MasterEvent
Event.AllDay
Event.IEvent.TimeZone
Event.SnoozedAppointments
Event.DismissedAppointments
Event.ReminderAppointments
Event.IsSuspended
Event.DataItem
Event.RemindId
Event.StartDateTime
Event.Subject
Event.Dismissed
Event.Snoozed
Event.Reminder
Event.PropertyChanged
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll

Syntax

public class Appointment : Event, IEvent, IDataBoundItem, IRemindObject, INotifyPropertyChanged

Constructors

Appointment()

Initializes a new instance of the Appointment class.

Declaration
public Appointment()

Appointment(DateTime, DateTime)

Initializes a new instance of the Appointment class.

Declaration
public Appointment(DateTime start, DateTime end)
Parameters
System.DateTime start

The start of the new appointment.

System.DateTime end

The end of the new appointment.

Appointment(DateTime, DateTime, String)

Initializes a new instance of the Appointment class.

Declaration
public Appointment(DateTime start, DateTime end, string summary)
Parameters
System.DateTime start

The start of the new appointment.

System.DateTime end

The end of the new appointment.

System.String summary

The summary of the new appointment.

Appointment(DateTime, DateTime, String, String)

Initializes a new instance of the Appointment class.

Declaration
public Appointment(DateTime start, DateTime end, string summary, string description)
Parameters
System.DateTime start

The start of the new appointment.

System.DateTime end

The end of the new appointment.

System.String summary

The summary of the new appointment.

System.String description

The description of the new appointment.

Appointment(DateTime, DateTime, String, String, String)

Initializes a new instance of the Appointment class.

Declaration
public Appointment(DateTime start, DateTime end, string summary, string description, string location)
Parameters
System.DateTime start

The start of the new appointment.

System.DateTime end

The end of the new appointment.

System.String summary

The summary of the new appointment.

System.String description

The description of the new appointment.

System.String location

The location of the new appointment.

Appointment(DateTime, TimeSpan)

Initializes a new instance of the Appointment class.

Declaration
public Appointment(DateTime start, TimeSpan duration)
Parameters
System.DateTime start

The start of the new appointment.

System.TimeSpan duration

The duration of the new appointment.

Appointment(DateTime, TimeSpan, String)

Initializes a new instance of the Appointment class.

Declaration
public Appointment(DateTime start, TimeSpan duration, string summary)
Parameters
System.DateTime start

The start of the new appointment.

System.TimeSpan duration

The duration of the new appointment.

System.String summary

The summary of the new appointment.

Appointment(DateTime, TimeSpan, String, String)

Initializes a new instance of the Appointment class.

Declaration
public Appointment(DateTime start, TimeSpan duration, string summary, string description)
Parameters
System.DateTime start

The start of the new appointment.

System.TimeSpan duration

The duration of the new appointment.

System.String summary

The summary of the new appointment.

System.String description

The description of the new appointment.

Appointment(DateTime, TimeSpan, String, String, String)

Initializes a new instance of the Appointment class.

Declaration
public Appointment(DateTime start, TimeSpan duration, string summary, string description, string location)
Parameters
System.DateTime start

The start of the new appointment.

System.TimeSpan duration

The duration of the new appointment.

System.String summary

The summary of the new appointment.

System.String description

The description of the new appointment.

System.String location

The location of the new appointment.

Properties

HasExceptions

Gets a value indicating whether this appointment has exception occurrences or exception dates defined in its recurrence rule.

Declaration
public virtual bool HasExceptions { get; }
Property Value
System.Boolean

HasOccurrences

Gets a value indicating whether this appointment instance has recurring occurrences based on its recurrence rule.

Declaration
public virtual bool HasOccurrences { get; }
Property Value
System.Boolean

Methods

CreateOccurrenceInstance()

Creates a new instance of an Appointment to represent an occurrence of this recurring appointment. This method is called internally when generating individual occurrences from a recurring appointment pattern.

Declaration
protected override Event CreateOccurrenceInstance()
Returns
Event

A new Appointment instance configured as an occurrence.

Overrides
Event.CreateOccurrenceInstance()

ToString()

Returns a string representation of the appointment containing its summary and time range information. The format includes the appointment summary followed by the start and end times in parentheses.

Declaration
public override string ToString()
Returns
System.String

A formatted string containing the appointment's summary, start time, and end time.

Overrides
System.Object.ToString()

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.