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 ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor 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
    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

Interface IEvent

Represents a interface that an object should implement in order to be used as a schedule object in RadScheduler.

Inherited Members
IDataBoundItem.SetDataItem(Object)
IDataBoundItem.DataItem
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll

Syntax

public interface IEvent : IDataBoundItem, INotifyPropertyChanged

Properties

AllDay

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

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

AllowDelete

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

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

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

AllowEdit

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

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

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

BackgroundId

Gets or sets the background id.

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

The background id.

CultureInfoProvider

Gets or sets the culture info provider.

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

The culture info provider.

Description

Gets or sets the description.

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

The description.

Duration

Gets or sets the duration of the event.

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

The duration of the event.

End

Gets or sets the end of the event.

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

The end of the event.

Exceptions

Gets the exceptions.

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

The exceptions.

Location

Gets or sets the location.

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

The location.

MasterEvent

Gets the master event.

Declaration
IEvent MasterEvent { get; }
Property Value
IEvent

The master event.

Occurrences

Gets the occurrences.

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

The occurrences.

RecurrenceId

Gets or sets the recurrent Id date for this event.

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

RecurrenceRule

Gets or sets the recurrence rule.

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

The recurrence rule.

ResourceId

Gets or sets the resource id.

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

The resource id.

ResourceIds

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

Start

Gets or sets the start of the event.

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

The start of the event.

StatusId

Gets or sets the status id.

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

The status id.

Summary

Gets or sets the summary.

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

The summary.

TimeZone

Gets or sets the time zone for this event.

Declaration
TimeZoneInfo TimeZone { get; set; }
Property Value
TimeZoneInfo

ToolTipText

Gets or sets the tool tip text.

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

The tool tip text.

UniqueId

Gets or sets the unique id of this event.

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

The unique id of this event.

Visible

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

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

true if visible; otherwise, false.

Methods

AddOccurrenceException(IEvent, Boolean)

Makes the specified occurrence an exception.

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

The occurrence which will be made an exception.

System.Boolean addExceptionDate

Indicates whether the start date of the occurrence should be added to the ExceptionDates of the recurrence rule.

CreateOccurrence(DateTime)

Creates a occurrence of this event.

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

The start date of the occurrence.

Returns
IEvent

CreateOccurrence(DateTime, Boolean)

Creates a occurrence of this event.

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

The start date of the occurrence.

System.Boolean exception

Determine whether the occurence is exception.

Returns
IEvent

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)

Was this article helpful?

Tell us how we can improve this article

Skip
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.