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

    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 Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    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 Event

Represents a base class for schedule event objects.

Inheritance
System.Object
Event
Appointment
Inherited Members
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.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll

Syntax

public class Event : IEvent, IDataBoundItem, IRemindObject, INotifyPropertyChanged

Constructors

Event()

Declaration
public Event()

Fields

isAllDay

Declaration
protected bool isAllDay
Field Value
System.Boolean

occurrenceEnumerator

Declaration
protected OccurrenceEnumerator occurrenceEnumerator
Field Value
OccurrenceEnumerator

Properties

AllDay

Gets or sets a value indicating whether this is an all-day event.

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

Implements
IEvent.AllDay

AllowDelete

Gets or sets a value indicating whether this event can be deleted.

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

true if this event can be deleted; otherwise, false.

Implements
IEvent.AllowDelete

AllowEdit

Gets or sets a value indicating whether this event can be edited.

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

true if this event can be edited; otherwise, false.

Implements
IEvent.AllowEdit

BackgroundId

Gets or sets the background id.

Declaration
public virtual int BackgroundId { get; set; }
Property Value
System.Int32

The background id.

Implements
IEvent.BackgroundId

CultureInfoProvider

Gets or sets the culture info provider.

Declaration
public ICultureInfoProvider CultureInfoProvider { get; set; }
Property Value
ICultureInfoProvider

The culture info provider.

Implements
IEvent.CultureInfoProvider

DataItem

Declaration
public object DataItem { get; }
Property Value
System.Object

Implements
IDataBoundItem.DataItem

Description

Gets or sets the description.

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

The description.

Implements
IEvent.Description

Dismissed

Gets or sets a value indicating whether the reminder of this IRemindObject is dismissed.

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

true if dismissed; otherwise, false.

Implements
IRemindObject.Dismissed

DismissedAppointments

Gets the dismissed state of recurring appointments.

Declaration
public Dictionary<int, bool> DismissedAppointments { get; }
Property Value
System.Collections.Generic.Dictionary<System.Int32, System.Boolean>

The dismissed appointments.

Duration

Gets or sets the duration of the event.

Declaration
public virtual TimeSpan Duration { get; set; }
Property Value
System.TimeSpan

The duration of the event.

Implements
IEvent.Duration

End

Gets or sets the end of the event.

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

The end of the event.

Implements
IEvent.End

Exceptions

Gets the exceptions.

Declaration
public virtual ObservableCollection<IEvent> Exceptions { get; }
Property Value
ObservableCollection<IEvent>

The exceptions.

Implements
IEvent.Exceptions

IsSuspended

Gets a value indicating whether property change notification are suspended.

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

IsViewCalculated

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

Location

Gets or sets the location.

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

The location.

Implements
IEvent.Location

MasterEvent

Gets the master event.

Declaration
public IEvent MasterEvent { get; }
Property Value
IEvent

The master event.

Implements
IEvent.MasterEvent

Occurrences

Gets the occurrences.

Declaration
public virtual IEnumerable<IEvent> Occurrences { get; }
Property Value
System.Collections.Generic.IEnumerable<IEvent>

The occurrences.

Implements
IEvent.Occurrences

RecurrenceId

Gets or sets the recurrence Id date.

Declaration
public virtual DateTime? RecurrenceId { get; set; }
Property Value
System.Nullable<System.DateTime>

The recurrence Id date.

Implements
IEvent.RecurrenceId

RecurrenceRule

Gets or sets the recurrence rule.

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

The recurrence rule.

Implements
IEvent.RecurrenceRule

Reminder

Gets or sets a time span value indicating how much time before the start of this IRemindObject the reminder should be triggered.

Declaration
public virtual TimeSpan? Reminder { get; set; }
Property Value
System.Nullable<System.TimeSpan>

The reminder.

Implements
IRemindObject.Reminder

ReminderAppointments

Gets the reminder state of recurring appointments.

Declaration
public Dictionary<int, TimeSpan? > ReminderAppointments { get; }
Property Value
System.Collections.Generic.Dictionary<System.Int32, System.Nullable<System.TimeSpan>>

The reminder appointments.

RemindId

Gets the remind identifier used for identifying the reminder of this event.

Declaration
public int RemindId { get; }
Property Value
System.Int32

The remind identifier.

Implements
IRemindObject.RemindId

ResourceId

Gets or sets the resource id.

Declaration
public virtual EventId ResourceId { get; set; }
Property Value
EventId

The resource id.

Implements
IEvent.ResourceId

ResourceIds

Gets the resource ids.

Declaration
public virtual ObservableCollection<EventId> ResourceIds { get; }
Property Value
ObservableCollection<EventId>

The resource ids.

Implements
IEvent.ResourceIds

Snoozed

Gets or sets a time span indicating the amount of time the reminder of this IRemindObject is snoozed for.

Declaration
public virtual TimeSpan Snoozed { get; set; }
Property Value
System.TimeSpan

The snoozed time.

Implements
IRemindObject.Snoozed

SnoozedAppointments

Gets the snooze time for each recurring appointments.

Declaration
public Dictionary<int, TimeSpan> SnoozedAppointments { get; }
Property Value
System.Collections.Generic.Dictionary<System.Int32, System.TimeSpan>

The snoozed appointments.

Start

Gets or sets the start of the event.

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

The start of the event.

Implements
IEvent.Start

StartDateTime

Gets the start date time when this IRemindObject starts.

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

The start date time.

Implements
IRemindObject.StartDateTime

StatusId

Gets or sets the status id.

Declaration
public virtual int StatusId { get; set; }
Property Value
System.Int32

The status id.

Implements
IEvent.StatusId

Subject

Gets the subject of this remind object. This text is usually displayed when visualizing a reminder.

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

The subject.

Implements
IRemindObject.Subject

Summary

Gets or sets the summary.

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

The summary.

Implements
IEvent.Summary

ToolTipText

Gets or sets the tool tip text.

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

The tool tip text.

Implements
IEvent.ToolTipText

UniqueId

Gets or sets the unique id of this event.

Declaration
public virtual EventId UniqueId { get; set; }
Property Value
EventId

The unique id of this event.

Implements
IEvent.UniqueId

Visible

Gets or sets a value indicating whether this IEvent is visible.

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

true if visible; otherwise, false.

Implements
IEvent.Visible

Methods

AddOccurrenceException(IEvent, Boolean)

Declaration
public virtual void AddOccurrenceException(IEvent occurrence, bool addExceptionDate)
Parameters
IEvent occurrence

System.Boolean addExceptionDate

Implements
IEvent.AddOccurrenceException(IEvent, Boolean)

CreateOccurrence(DateTime)

Creates a occurrence of this event.

Declaration
public virtual IEvent CreateOccurrence(DateTime start)
Parameters
System.DateTime start

The start date of the occurrence.

Returns
IEvent

Implements
IEvent.CreateOccurrence(DateTime)

CreateOccurrence(DateTime, Boolean)

Creates a occurrence of this event.

Declaration
public virtual IEvent CreateOccurrence(DateTime start, bool exception)
Parameters
System.DateTime start

The start date of the occurrence.

System.Boolean exception

Returns
IEvent

Implements
IEvent.CreateOccurrence(DateTime, Boolean)

CreateOccurrenceInstance()

Declaration
protected virtual Event CreateOccurrenceInstance()
Returns
Event

GetOccurrences(DateTime, DateTime)

Gets the occurrences in a given period.

Declaration
public virtual IEnumerable<IEvent> GetOccurrences(DateTime from, DateTime to)
Parameters
System.DateTime from

Start of the period.

System.DateTime to

End of the period.

Returns
System.Collections.Generic.IEnumerable<IEvent>

OnPropertyChanged(String)

Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
System.String propertyName

ResumeNotifications()

Resumes property notifications if they have been previously suspended.

Declaration
public virtual void ResumeNotifications()

SuspendNotifications()

Suspends property change notifications.

Declaration
public virtual void SuspendNotifications()

Events

PropertyChanged

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler

Explicit Interface Implementations

IDataBoundItem.SetDataItem(Object)

Declaration
void IDataBoundItem.SetDataItem(object dataItem)
Parameters
System.Object dataItem

Implements
IDataBoundItem.SetDataItem(Object)

IEvent.TimeZone

Declaration
TimeZoneInfo IEvent.TimeZone { get; set; }
Returns
TimeZoneInfo

Implements
IEvent.TimeZone

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.