skip navigation
  • Product Bundles

    DevCraft

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

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder Design System Kit
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class AppointmentBase

Provides base class for appointments.

Inheritance
System.Object
ViewModelBase
EditableObjectBase<IAppointment>
AppointmentBase
Appointment
Inherited Members
EditableObjectBase<IAppointment>.Copy()
EditableObjectBase<IAppointment>.OnBeginEdit()
EditableObjectBase<IAppointment>.OnEndEdit()
EditableObjectBase<IAppointment>.OnCancelEdit()
EditableObjectBase<IAppointment>.OnPropertyChanged(String)
EditableObjectBase<IAppointment>.Storage<P>()
EditableObjectBase<IAppointment>.Backup
EditableObjectBase<IAppointment>.IsEditing
ViewModelBase.VerifyPropertyName(String)
ViewModelBase.InvokeOnUIThread(Action)
ViewModelBase.Dispose()
ViewModelBase.OnPropertyChanged<T>(Expression<Func<T>>)
ViewModelBase.Dispose(Boolean)
ViewModelBase.PropertyChanged
System.Object.ToString()
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.Windows.Controls.ScheduleView
Assembly: Telerik.Windows.Controls.ScheduleView.dll

Syntax

public abstract class AppointmentBase : EditableObjectBase<IAppointment>, IDisposable, IAppointment, IOccurrence, IDateSpan, INotifyPropertyChanged, IEditableObject, IEquatable<IAppointment>, ICopyable<IAppointment>, IExtendedAppointment, IObjectGenerator<IRecurrenceRule>

Constructors

AppointmentBase()

Initializes a new instance of the AppointmentBase class.

Declaration
protected AppointmentBase()

Properties

Category

Gets or sets the System.String value representing the category of the IAppointment object.

Declaration
public virtual ICategory Category { get; set; }
Property Value
ICategory

Implements
IExtendedAppointment.Category

End

Gets or sets the System.DateTime value determining the end date and time of the IAppointment.

Declaration
public virtual DateTime End { get; set; }
Property Value
System.DateTime

Implements
IAppointment.End
IDateSpan.End

Importance

Gets or sets the importance.

Declaration
public virtual Importance Importance { get; set; }
Property Value
Importance

The importance.

Implements
IExtendedAppointment.Importance

IsAllDayEvent

Gets or sets the System.Boolean value indicating whether the current IAppointment is an All-day one.

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

Implements
IAppointment.IsAllDayEvent

RecurrenceRule

Gets or sets the IRecurrenceRule value determining the recurrence rule of the IAppointment.

Declaration
public virtual IRecurrenceRule RecurrenceRule { get; set; }
Property Value
IRecurrenceRule

The recurrence rule.

Implements
IAppointment.RecurrenceRule

Resources

Gets the collection containing the resources, associated with the appointment.

Declaration
public virtual ResourceCollection Resources { get; }
Property Value
ResourceCollection

Start

Gets or sets the System.DateTime value determining the start date and time of the IAppointment.

Declaration
public virtual DateTime Start { get; set; }
Property Value
System.DateTime

Implements
IAppointment.Start
IDateSpan.Start

Subject

Gets or sets the System.String value representing the subject of the IAppointment object.

Declaration
public virtual string Subject { get; set; }
Property Value
System.String

Implements
IAppointment.Subject

TimeMarker

Gets or sets the System.String value representing the body of the IAppointment object.

Declaration
public virtual ITimeMarker TimeMarker { get; set; }
Property Value
ITimeMarker

Implements
IExtendedAppointment.TimeMarker

TimeZone

Gets or sets the time zone.

Declaration
public virtual TimeZoneInfo TimeZone { get; set; }
Property Value
System.TimeZoneInfo

The time zone.

Implements
IAppointment.TimeZone

Methods

CalculateActualDateTime(DateTime, TimeZoneInfo, Nullable<Boolean>)

Declaration
public static object CalculateActualDateTime(DateTime date, TimeZoneInfo timeZone, bool? considerTimeZone)
Parameters
System.DateTime date

System.TimeZoneInfo timeZone

System.Nullable<System.Boolean> considerTimeZone

Returns
System.Object

CopyFrom(IAppointment)

Deep copies all properties from other to this IAppointment.

Declaration
public override void CopyFrom(IAppointment other)
Parameters
IAppointment other

The IAppointment which properties are copied.

Overrides
Telerik.Windows.Controls.EditableObjectBase<Telerik.Windows.Controls.ScheduleView.IAppointment>.CopyFrom(Telerik.Windows.Controls.ScheduleView.IAppointment)
Implements
ICopyable<T>.CopyFrom(T)

Equals(IAppointment)

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

Declaration
public bool Equals(IAppointment other)
Parameters
IAppointment other

Returns
System.Boolean

Implements
System.IEquatable<T>.Equals(T)

OnRecurrenceRuleChanged(EventArgs)

Raises the RecurrenceRuleChanged event.

Declaration
protected virtual void OnRecurrenceRuleChanged(EventArgs args)
Parameters
System.EventArgs args

The System.EventArgs instance containing the event data.

Events

RecurrenceRuleChanged

Occurs when RecurrenceRule status is changed.

Declaration
public event EventHandler RecurrenceRuleChanged
Event Type
System.EventHandler

Implements
IAppointment.RecurrenceRuleChanged

Explicit Interface Implementations

IObjectGenerator<IRecurrenceRule>.CreateNew()

Creates a new IRecurrenceRule instance.

Declaration
IRecurrenceRule IObjectGenerator<IRecurrenceRule>.CreateNew()
Returns
IRecurrenceRule

The new instance of IRecurrenceRule.

Implements
IObjectGenerator<T>.CreateNew()

IObjectGenerator<IRecurrenceRule>.CreateNew(IRecurrenceRule)

Creates a new IRecurrenceRule instance and copies the provided object properties on to the new instance.

Declaration
IRecurrenceRule IObjectGenerator<IRecurrenceRule>.CreateNew(IRecurrenceRule item)
Parameters
IRecurrenceRule item

Returns
IRecurrenceRule

The new instance of IRecurrenceRule.

Implements
IObjectGenerator<T>.CreateNew(T)

IAppointment.Resources

Declaration
IList IAppointment.Resources { get; }
Returns
System.Collections.IList

Implements
IAppointment.Resources

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML 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.