ClassRadScheduler
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
[TelerikToolboxCategory("Scheduler")]
public class RadScheduler : RadControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider, ICultureInfoProvider, ISchedulerData, IPrintable
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadScheduler
Implements:
Inherited Members
Constructors
RadScheduler()
Initializes a new instance of the RadScheduler class.
Declaration
public RadScheduler()
Fields
CreateNewAppointmentCommand
Declaration
public static readonly CreateNewAppointmentCommand CreateNewAppointmentCommand
Field Value
NavigateBackwardCommand
Declaration
public static readonly NavigateBackwardCommand NavigateBackwardCommand
Field Value
NavigateForwardCommand
Declaration
public static readonly NavigateForwardCommand NavigateForwardCommand
Field Value
NavigateToNextAppointmentsCommand
Declaration
public static readonly NavigateToNextAppointmentsCommand NavigateToNextAppointmentsCommand
Field Value
NavigateToNextViewCommand
Declaration
public static readonly NavigateToNextViewCommand NavigateToNextViewCommand
Field Value
NavigateToPreviousAppointmentsCommand
Declaration
public static readonly NavigateToPreviousAppointmentsCommand NavigateToPreviousAppointmentsCommand
Field Value
NavigateToPreviousViewCommand
Declaration
public static readonly NavigateToPreviousViewCommand NavigateToPreviousViewCommand
Field Value
Properties
AccessibleInterval
Gets or sets the interval which is accessible to the user.
Declaration
[Browsable(true)]
public virtual DateTimeInterval AccessibleInterval { get; set; }
Property Value
The accessible interval. Default value is DateTimeInterval.Empty.
ActiveView
Gets or sets the active view.
Declaration
[Browsable(false)]
public virtual SchedulerView ActiveView { get; set; }
Property Value
The active view.
ActiveViewType
Gets or sets the type of the active view.
Declaration
public virtual SchedulerViewType ActiveViewType { get; set; }
Property Value
The type of the active view.
AllowAppointmentCreateInline
Enables or disables creating appointments when typing in a cell.
Declaration
public virtual bool AllowAppointmentCreateInline { get; set; }
Property Value
AllowAppointmentMove
Enables or disables appointment moving.
Declaration
public virtual bool AllowAppointmentMove { get; set; }
Property Value
AllowAppointmentResize
Enables or disables appointment resizing
Declaration
public virtual bool AllowAppointmentResize { get; set; }
Property Value
AllowAppointmentsMultiSelect
Gets or sets a value indicating whether selecting multiple appointments is possible.
Declaration
public bool AllowAppointmentsMultiSelect { get; set; }
Property Value
AllowCopyPaste
Allows or disallows the end user to copy, cut and paste appointments using the default combinations Ctrl+X, Ctrl+C and Ctrl+V.
Declaration
public CopyPasteMode AllowCopyPaste { get; set; }
Property Value
AllowMouseWheelSupport
Enables or disables mouse wheel support.
Declaration
public virtual bool AllowMouseWheelSupport { get; set; }
Property Value
AllowToolTips
Gets or sets a value indicating whether tool tips are shown.
Declaration
public bool AllowToolTips { get; set; }
Property Value
true if tool tips are shown; otherwise, false.
AllowViewNavigationOnDrag
Enables automatic navigation to previous/next view when dragging an appointment outside the boundaries of the control.
Declaration
public bool AllowViewNavigationOnDrag { get; set; }
Property Value
AppointmentElementFactory
Gets or sets a factory class that is used when creating appointment elements.
Declaration
[Browsable(false)]
public IAppointmentElementFactory AppointmentElementFactory { get; set; }
Property Value
AppointmentExceptionOfRecurrenceIcon
Gets or sets the appointment exception of recurrence icon.
Declaration
[Browsable(false)]
public Image AppointmentExceptionOfRecurrenceIcon { get; set; }
Property Value
The appointment exception of recurrence icon.
AppointmentFactory
Gets or sets an IAppointmentFactory which used to create IEvent objects which represent the appointments in RadScheduler.
Declaration
[Browsable(false)]
public IAppointmentFactory AppointmentFactory { get; set; }
Property Value
AppointmentRecurrenceIcon
Gets or sets the appointment recurrence icon.
Declaration
[Browsable(false)]
public Image AppointmentRecurrenceIcon { get; set; }
Property Value
The appointment recurrence icon.
AppointmentTitleFormat
Gets or sets the appointment title format.
Declaration
public string AppointmentTitleFormat { get; set; }
Property Value
The appointment title format.
Appointments
Gets the appointments.
Declaration
[Browsable(false)]
public virtual SchedulerAppointmentCollection Appointments { get; }
Property Value
SchedulerAppointmentCollection
The appointments.
AppointmentsComparer
Gets or sets a comparer which will be used to determine the order of the appointments when they have the same Start and End dates.
Declaration
[Browsable(false)]
public IComparer<AppointmentElement> AppointmentsComparer { get; set; }
Property Value
IComparer<AppointmentElement>
AutoSizeAppointments
Gets or sets a value indicating whether the appointments elements should be sized to fit their content.
Backgrounds
Gets the backgrounds.
Declaration
[Browsable(false)]
public virtual SchedulerBackgroundCollection Backgrounds { get; }
Property Value
The backgrounds.
Culture
Gets or sets the CultureInfo supported by this RadScheduler object.
Describes the names of the culture, the writing system, and the calendar used, as well as access to culture-specific objects that provide methods for common operations, such as formatting dates and sorting strings.
Declaration
[TypeConverter(typeof(CultureInfoConverter))]
public CultureInfo Culture { get; set; }
Property Value
Implements
Remarks
The culture names follow the RFC 1766 standard in the format "<languagecode2>-<country/regioncode2>", where <languagecode2> is a lowercase two-letter code derived from ISO 639-1 and <country/regioncode2> is an uppercase two-letter code derived from ISO 3166. For example, U.S. English is "en-US". In cases where a two-letter language code is not available, the three-letter code derived from ISO 639-2 is used; for example, the three-letter code "div" is used for cultures that use the Dhivehi language. Some culture names have suffixes that specify the script; for example, "-Cyrl" specifies the Cyrillic script, "-Latn" specifies the Latin script.
The following predefined CultureInfo names and identifiers are accepted and used by this class and other classes in the System.Globalization namespace.
| Culture Name | Culture Identifier | Language-Country/Region |
|---|---|---|
| "" (empty string) | 0x007F | invariant culture |
| af | 0x0036 | Afrikaans |
| af-ZA | 0x0436 | Afrikaans - South Africa |
| sq | 0x001C | Albanian |
| sq-AL | 0x041C | Albanian - Albania |
| ar | 0x0001 | Arabic |
| ar-DZ | 0x1401 | Arabic - Algeria |
| ar-BH | 0x3C01 | Arabic - Bahrain |
| ar-EG | 0x0C01 | Arabic - Egypt |
| ar-IQ | 0x0801 | Arabic - Iraq |
| ar-JO | 0x2C01 | Arabic - Jordan |
| ar-KW | 0x3401 | Arabic - Kuwait |
| ar-LB | 0x3001 | Arabic - Lebanon |
| ar-LY | 0x1001 | Arabic - Libya |
| ar-MA | 0x1801 | Arabic - Morocco |
| ar-OM | 0x2001 | Arabic - Oman |
| ar-QA | 0x4001 | Arabic - Qatar |
| ar-SA | 0x0401 | Arabic - Saudi Arabia |
| ar-SY | 0x2801 | Arabic - Syria |
| ar-TN | 0x1C01 | Arabic - Tunisia |
| ar-AE | 0x3801 | Arabic - United Arab Emirates |
| ar-YE | 0x2401 | Arabic - Yemen |
| hy | 0x002B | Armenian |
| hy-AM | 0x042B | Armenian - Armenia |
| az | 0x002C | Azeri |
| az-AZ-Cyrl | 0x082C | Azeri (Cyrillic) - Azerbaijan |
| az-AZ-Latn | 0x042C | Azeri (Latin) - Azerbaijan |
| eu | 0x002D | Basque |
| eu-ES | 0x042D | Basque - Basque |
| be | 0x0023 | Belarusian |
| be-BY | 0x0423 | Belarusian - Belarus |
| bg | 0x0002 | Bulgarian |
| bg-BG | 0x0402 | Bulgarian - Bulgaria |
| ca | 0x0003 | Catalan |
| ca-ES | 0x0403 | Catalan - Catalan |
| zh-HK | 0x0C04 | Chinese - Hong Kong SAR |
| zh-MO | 0x1404 | Chinese - Macau SAR |
| zh-CN | 0x0804 | Chinese - China |
| zh-CHS | 0x0004 | Chinese (Simplified) |
| zh-SG | 0x1004 | Chinese - Singapore |
| zh-TW | 0x0404 | Chinese - Taiwan |
| zh-CHT | 0x7C04 | Chinese (Traditional) |
| hr | 0x001A | Croatian |
| hr-HR | 0x041A | Croatian - Croatia |
| cs | 0x0005 | Czech |
| cs-CZ | 0x0405 | Czech - Czech Republic |
| da | 0x0006 | Danish |
| da-DK | 0x0406 | Danish - Denmark |
| div | 0x0065 | Dhivehi |
| div-MV | 0x0465 | Dhivehi - Maldives |
| nl | 0x0013 | Dutch |
| nl-BE | 0x0813 | Dutch - Belgium |
| nl-NL | 0x0413 | Dutch - The Netherlands |
| en | 0x0009 | English |
| en-AU | 0x0C09 | English - Australia |
| en-BZ | 0x2809 | English - Belize |
| en-CA | 0x1009 | English - Canada |
| en-CB | 0x2409 | English - Caribbean |
| en-IE | 0x1809 | English - Ireland |
| en-JM | 0x2009 | English - Jamaica |
| en-NZ | 0x1409 | English - New Zealand |
| en-PH | 0x3409 | English - Philippines |
| en-ZA | 0x1C09 | English - South Africa |
| en-TT | 0x2C09 | English - Trinidad and Tobago |
| en-GB | 0x0809 | English - United Kingdom |
| en-US | 0x0409 | English - United States |
| en-ZW | 0x3009 | English - Zimbabwe |
| et | 0x0025 | Estonian |
| et-EE | 0x0425 | Estonian - Estonia |
| fo | 0x0038 | Faroese |
| fo-FO | 0x0438 | Faroese - Faroe Islands |
| fa | 0x0029 | Farsi |
| fa-IR | 0x0429 | Farsi - Iran |
| fi | 0x000B | Finnish |
| fi-FI | 0x040B | Finnish - Finland |
| fr | 0x000C | French |
| fr-BE | 0x080C | French - Belgium |
| fr-CA | 0x0C0C | French - Canada |
| fr-FR | 0x040C | French - France |
| fr-LU | 0x140C | French - Luxembourg |
| fr-MC | 0x180C | French - Monaco |
| fr-CH | 0x100C | French - Switzerland |
| gl | 0x0056 | Galician |
| gl-ES | 0x0456 | Galician - Galician |
| ka | 0x0037 | Georgian |
| ka-GE | 0x0437 | Georgian - Georgia |
| de | 0x0007 | German |
| de-AT | 0x0C07 | German - Austria |
| de-DE | 0x0407 | German - Germany |
| de-LI | 0x1407 | German - Liechtenstein |
| de-LU | 0x1007 | German - Luxembourg |
| de-CH | 0x0807 | German - Switzerland |
| el | 0x0008 | Greek |
| el-GR | 0x0408 | Greek - Greece |
| gu | 0x0047 | Gujarati |
| gu-IN | 0x0447 | Gujarati - India |
| he | 0x000D | Hebrew |
| he-IL | 0x040D | Hebrew - Israel |
| hi | 0x0039 | Hindi |
| hi-IN | 0x0439 | Hindi - India |
| hu | 0x000E | Hungarian |
| hu-HU | 0x040E | Hungarian - Hungary |
| is | 0x000F | Icelandic |
| is-IS | 0x040F | Icelandic - Iceland |
| id | 0x0021 | Indonesian |
| id-ID | 0x0421 | Indonesian - Indonesia |
| it | 0x0010 | Italian |
| it-IT | 0x0410 | Italian - Italy |
| it-CH | 0x0810 | Italian - Switzerland |
| ja | 0x0011 | Japanese |
| ja-JP | 0x0411 | Japanese - Japan |
| kn | 0x004B | Kannada |
| kn-IN | 0x044B | Kannada - India |
| kk | 0x003F | Kazakh |
| kk-KZ | 0x043F | Kazakh - Kazakhstan |
| kok | 0x0057 | Konkani |
| kok-IN | 0x0457 | Konkani - India |
| ko | 0x0012 | Korean |
| ko-KR | 0x0412 | Korean - Korea |
| ky | 0x0040 | Kyrgyz |
| ky-KZ | 0x0440 | Kyrgyz - Kazakhstan |
| lv | 0x0026 | Latvian |
| lv-LV | 0x0426 | Latvian - Latvia |
| lt | 0x0027 | Lithuanian |
| lt-LT | 0x0427 | Lithuanian - Lithuania |
| mk | 0x002F | Macedonian |
| mk-MK | 0x042F | Macedonian - FYROM |
| ms | 0x003E | Malay |
| ms-BN | 0x083E | Malay - Brunei |
| ms-MY | 0x043E | Malay - Malaysia |
| mr | 0x004E | Marathi |
| mr-IN | 0x044E | Marathi - India |
| mn | 0x0050 | Mongolian |
| mn-MN | 0x0450 | Mongolian - Mongolia |
| no | 0x0014 | Norwegian |
| nb-NO | 0x0414 | Norwegian (Bokmål) - Norway |
| nn-NO | 0x0814 | Norwegian (Nynorsk) - Norway |
| pl | 0x0015 | Polish |
| pl-PL | 0x0415 | Polish - Poland |
| pt | 0x0016 | Portuguese |
| pt-BR | 0x0416 | Portuguese - Brazil |
| pt-PT | 0x0816 | Portuguese - Portugal |
| pa | 0x0046 | Punjabi |
| pa-IN | 0x0446 | Punjabi - India |
| ro | 0x0018 | Romanian |
| ro-RO | 0x0418 | Romanian - Romania |
| ru | 0x0019 | Russian |
| ru-RU | 0x0419 | Russian - Russia |
| sa | 0x004F | Sanskrit |
| sa-IN | 0x044F | Sanskrit - India |
| sr-SP-Cyrl | 0x0C1A | Serbian (Cyrillic) - Serbia |
| sr-SP-Latn | 0x081A | Serbian (Latin) - Serbia |
| sk | 0x001B | Slovak |
| sk-SK | 0x041B | Slovak - Slovakia |
| sl | 0x0024 | Slovenian |
| sl-SI | 0x0424 | Slovenian - Slovenia |
| es | 0x000A | Spanish |
| es-AR | 0x2C0A | Spanish - Argentina |
| es-BO | 0x400A | Spanish - Bolivia |
| es-CL | 0x340A | Spanish - Chile |
| es-CO | 0x240A | Spanish - Colombia |
| es-CR | 0x140A | Spanish - Costa Rica |
| es-DO | 0x1C0A | Spanish - Dominican Republic |
| es-EC | 0x300A | Spanish - Ecuador |
| es-SV | 0x440A | Spanish - El Salvador |
| es-GT | 0x100A | Spanish - Guatemala |
| es-HN | 0x480A | Spanish - Honduras |
| es-MX | 0x080A | Spanish - Mexico |
| es-NI | 0x4C0A | Spanish - Nicaragua |
| es-PA | 0x180A | Spanish - Panama |
| es-PY | 0x3C0A | Spanish - Paraguay |
| es-PE | 0x280A | Spanish - Peru |
| es-PR | 0x500A | Spanish - Puerto Rico |
| es-ES | 0x0C0A | Spanish - Spain |
| es-UY | 0x380A | Spanish - Uruguay |
| es-VE | 0x200A | Spanish - Venezuela |
| sw | 0x0041 | Swahili |
| sw-KE | 0x0441 | Swahili - Kenya |
| sv | 0x001D | Swedish |
| sv-FI | 0x081D | Swedish - Finland |
| sv-SE | 0x041D | Swedish - Sweden |
| syr | 0x005A | Syriac |
| syr-SY | 0x045A | Syriac - Syria |
| ta | 0x0049 | Tamil |
| ta-IN | 0x0449 | Tamil - India |
| tt | 0x0044 | Tatar |
| tt-RU | 0x0444 | Tatar - Russia |
| te | 0x004A | Telugu |
| te-IN | 0x044A | Telugu - India |
| th | 0x001E | Thai |
| th-TH | 0x041E | Thai - Thailand |
| tr | 0x001F | Turkish |
| tr-TR | 0x041F | Turkish - Turkey |
| uk | 0x0022 | Ukrainian |
| uk-UA | 0x0422 | Ukrainian - Ukraine |
| ur | 0x0020 | Urdu |
| ur-PK | 0x0420 | Urdu - Pakistan |
| uz | 0x0043 | Uzbek |
| uz-UZ-Cyrl | 0x0843 | Uzbek (Cyrillic) - Uzbekistan |
| uz-UZ-Latn | 0x0443 | Uzbek (Latin) - Uzbekistan |
| vi | 0x002A | Vietnamese |
| vi-VN | 0x042A | Vietnamese - Vietnam |
DataSource
Gets or sets the data source.
Declaration
public virtual SchedulerDataSource DataSource { get; set; }
Property Value
The data source.
DateTimeFormat
Gets or sets a DateTimeFormatInfo instance that defines the culturally appropriate format of displaying dates and times as specified by the default culture.
Declaration
[Browsable(false)]
public DateTimeFormatInfo DateTimeFormat { get; }
Property Value
Remarks
A DateTimeFormatInfo can be created only for the invariant culture or for specific cultures, not for neutral cultures.
The cultures are generally grouped into three sets: the invariant culture, the neutral cultures, and the specific cultures.
The invariant culture is culture-insensitive. You can specify the invariant culture by name using an empty string ("") or by its culture identifier 0x007F. InvariantCulture retrieves an instance of the invariant culture. It is associated with the English language but not with any country/region. It can be used in almost any method in the Globalization namespace that requires a culture. If a security decision depends on a string comparison or a case-change operation, use the InvariantCulture to ensure that the behavior will be consistent regardless of the culture settings of the system. However, the invariant culture must be used only by processes that require culture-independent results, such as system services; otherwise, it produces results that might be linguistically incorrect or culturally inappropriate.
A neutral culture is a culture that is associated with a language but not with a country/region. A specific culture is a culture that is associated with a language and a country/region. For example, "fr" is a neutral culture and "fr-FR" is a specific culture. Note that "zh-CHS" (Simplified Chinese) and "zh-CHT" (Traditional Chinese) are neutral cultures.
The user might choose to override some of the values associated with the current culture of Windows through Regional and Language Options (or Regional Options or Regional Settings) in Control Panel. For example, the user might choose to display the date in a different format or to use a currency other than the default for the culture.
If UseUserOverride is true and the specified culture
matches the current culture of Windows, the CultureInfo uses those
overrides, including user settings for the properties of the
DateTimeFormatInfo instance returned by the DateTimeFormat property,
the properties of the NumberFormatInfo instance returned by the
NumberFormat property, and the properties of the
CompareInfo instance returned by the CompareInfo
property. If the user settings are incompatible with the culture associated with
the CultureInfo (for example, if the selected calendar is not one of the
OptionalCalendars ), the results of the methods and the values of
the properties are undefined.
Note: In this version of RadCalendar the
NumberFormatInfo instance returned by the
NumberFormat property is not taken into account.
DefaultSize
Gets the default size of the control.
Declaration
protected override Size DefaultSize { get; }
Property Value
Overrides
Dock
Gets or sets which edge of the parent container a control is docked to.
DragDropBehavior
Gets or sets the AppointmentDraggingBehavior which is responsible for performing the drag and drop of appointments in RadScheduler.
Declaration
[Browsable(false)]
public AppointmentDraggingBehavior DragDropBehavior { get; }
Property Value
ElementProvider
Gets or sets the SchedulerElementProvider which is responsible for creating and recycling of most of RadScheduler's visual elements.
Declaration
[Browsable(false)]
public SchedulerElementProvider ElementProvider { get; set; }
Property Value
EnableCustomCellDrawing
Gets or sets a value indicating whether the CellPaint event will be fired.
EnableExactTimeRendering
Gets or sets whether appointments are rendered according to their start and end time or are aligned to the scheduler grid lines.
Declaration
public bool EnableExactTimeRendering { get; set; }
Property Value
FocusedDate
Gets or sets the value that is used by RadScheduler to determine the viewable area displayed .
Declaration
public DateTime FocusedDate { get; set; }
Property Value
Remarks
By default, the FocusedDate property returns the current system date when in runtime, and in design mode defaults to System.DateTime.MinValue. When the FocusedDate is set, from that point, the value returned by the FocusedDate property is the one the user sets.
GroupType
Gets or sets the type of grouping.
Declaration
[Browsable(false)]
public GroupType GroupType { get; set; }
Property Value
Implements
HeaderFormat
Gets or sets the header format.
Declaration
public string HeaderFormat { get; set; }
Property Value
The header format.
HighlightToday
Gets or sets value whether to show the today visual state of scheduler cells
Holidays
Represents the collection with Holidays object
Declaration
public SchedulerHolidays Holidays { get; set; }
Property Value
ModernAppointmentBackColor
Gets or sets the back color of the appointment when it has the default None category. This color is applied only for appointments with modern styles. Check the UseModernAppointmentStyles property for more details.
Declaration
public Color ModernAppointmentBackColor { get; set; }
Property Value
ModernAppointmentBackColor2
Gets or sets the second back color of the appointment when it has a linear gradient in the default None category. This color is applied only for appointments with modern styles. Check the UseModernAppointmentStyles property for more details.
Declaration
public Color ModernAppointmentBackColor2 { get; set; }
Property Value
ModernAppointmentBlueColor
Gets or sets the back color of the appointment when it has the Blue category. This color is applied only for appointments with modern styles. Check the UseModernAppointmentStyles property for more details.
Declaration
public Color ModernAppointmentBlueColor { get; set; }
Property Value
ModernAppointmentBorderColor
Gets or sets the border color of the appointment when it has the default None category. This color is applied only for appointments with modern styles. Check the UseModernAppointmentStyles property for more details.
Declaration
public Color ModernAppointmentBorderColor { get; set; }
Property Value
ModernAppointmentForeColor
Gets or sets the fore color of the appointment. This color is applied only for appointments with modern styles. Check the UseModernAppointmentStyles property for more details.
Declaration
public Color ModernAppointmentForeColor { get; set; }
Property Value
ModernAppointmentGrayColor
Gets or sets the back color of the appointment when it has the Gray category. This color is applied only for appointments with modern styles. Check the UseModernAppointmentStyles property for more details.
Declaration
public Color ModernAppointmentGrayColor { get; set; }
Property Value
ModernAppointmentGreenColor
Gets or sets the back color of the appointment when it has the Green category. This color is applied only for appointments with modern styles. Check the UseModernAppointmentStyles property for more details.
Declaration
public Color ModernAppointmentGreenColor { get; set; }
Property Value
ModernAppointmentLavenderColor
Gets or sets the back color of the appointment when it has the Lavender category. This color is applied only for appointments with modern styles. Check the UseModernAppointmentStyles property for more details.
Declaration
public Color ModernAppointmentLavenderColor { get; set; }
Property Value
ModernAppointmentOliveColor
Gets or sets the back color of the appointment when it has the Olive category. This color is applied only for appointments with modern styles. Check the UseModernAppointmentStyles property for more details.
Declaration
public Color ModernAppointmentOliveColor { get; set; }
Property Value
ModernAppointmentOrangeColor
Gets or sets the back color of the appointment when it has the Orange category. This color is applied only for appointments with modern styles. Check the UseModernAppointmentStyles property for more details.
Declaration
public Color ModernAppointmentOrangeColor { get; set; }
Property Value
ModernAppointmentPinkColor
Gets or sets the back color of the appointment when it has the Pink category. This color is applied only for appointments with modern styles. Check the UseModernAppointmentStyles property for more details.
Declaration
public Color ModernAppointmentPinkColor { get; set; }
Property Value
ModernAppointmentPurpleColor
Gets or sets the back color of the appointment when it has the Purple category. This color is applied only for appointments with modern styles. Check the UseModernAppointmentStyles property for more details.
Declaration
public Color ModernAppointmentPurpleColor { get; set; }
Property Value
ModernAppointmentRaspberryColor
Gets or sets the back color of the appointment when it has the Raspberry category. This color is applied only for appointments with modern styles. Check the UseModernAppointmentStyles property for more details.
Declaration
public Color ModernAppointmentRaspberryColor { get; set; }
Property Value
ModernAppointmentYellowColor
Gets or sets the back color of the appointment when it has the Yellow category. This color is applied only for appointments with modern styles. Check the UseModernAppointmentStyles property for more details.
Declaration
public Color ModernAppointmentYellowColor { get; set; }
Property Value
Padding
Gets or sets the padding within the control.
Declaration
[Browsable(false)]
public Padding Padding { get; set; }
Property Value
PaintModernApppointmentsBorders
Gets or sets whether the borders of the appointment element will be painted. This color is set via the ModernAppointmentBorderColor property and is applied only for appointments with modern styles. Check the UseModernAppointmentStyles property for more details.
Declaration
public bool PaintModernApppointmentsBorders { get; set; }
Property Value
PrintSettingsDialogFactory
Gets or sets the factory used to create print settings dialogs. If not explicitly set, it defaults to a new instance of SchedulerPrintSettingsDialogFactory.
Declaration
[Browsable(false)]
public IPrintSettingsDialogFactory PrintSettingsDialogFactory { get; set; }
Property Value
PrintStyle
Gets or sets a value indicating how the RadScheduler is printed.
Declaration
public SchedulerPrintStyle PrintStyle { get; set; }
Property Value
RadContextMenu
Gets or sets the shortcut menu associated with the control.
Declaration
public virtual RadContextMenu RadContextMenu { get; set; }
Property Value
ReadOnly
Gets or sets a value indicating whether appointments can be changed.
Declaration
public virtual bool ReadOnly { get; set; }
Property Value
true if the scheduler is read-only; otherwise, false.
Reminders
Gets the predefined reminder time intervals.
Declaration
[Browsable(false)]
public virtual SchedulerReminderCollection Reminders { get; }
Property Value
The reminder intervals.
ResizeBehavior
Gets or sets the AppointmentResizingBehavior which is responsible for performing the resizing of appointments in RadScheduler.
Declaration
[Browsable(false)]
public AppointmentResizingBehavior ResizeBehavior { get; }
Property Value
Resources
Gets the resources.
Declaration
[Browsable(false)]
public virtual SchedulerResourceCollection Resources { get; }
Property Value
The resources.
SaveLoadRemindersBehavior
Gets or sets the behavior responsible for saving and loading appointment reminders. This behavior handles persistence of reminders between application sessions.
Declaration
public SchedulerSaveLoadRemindersBehavior SaveLoadRemindersBehavior { get; set; }
Property Value
SchedulerElement
Gets the scheduler element.
Declaration
[Browsable(false)]
public RadSchedulerElement SchedulerElement { get; }
Property Value
The scheduler element.
SchedulerInputBehavior
Gets or sets the SchedulerInputBehavior which is responsible for handling the mouse and keyboard input. Be sure to dispose the old instance when replacing it with a new one.
Declaration
[Browsable(false)]
public SchedulerInputBehavior SchedulerInputBehavior { get; set; }
Property Value
SelectionBehavior
Gets or sets the SchedulerSelectionBehavior which is responsible for handling the selection of cells and appointments in RadScheduler.
Declaration
[Browsable(false)]
public SchedulerSelectionBehavior SelectionBehavior { get; set; }
Property Value
ShowAllDayAppointmentStatus
Gets or sets a value indicating whether to display all day appointment status.
Declaration
public virtual bool ShowAllDayAppointmentStatus { get; set; }
Property Value
true if all day appointment status is displayed; otherwise, false.
ShowAppointmentStatus
Gets or sets a value indicating whether the appointment status should be displayed.
Declaration
public virtual bool ShowAppointmentStatus { get; set; }
Property Value
true if appointment status is displayed otherwise, false.
ShowNavigationElements
Gets or sets a value whether to show the "Previous/Next Appointment" navigation elements.
Statuses
Gets the statuses.
Declaration
[Browsable(false)]
public virtual SchedulerStatusCollection Statuses { get; }
Property Value
The statuses.
SystemTimeZone
Gets or sets the selected time zone.
Declaration
[Browsable(false)]
public SchedulerTimeZone SystemTimeZone { get; set; }
Property Value
The selected time zone.
UseModernAppointmentStyles
Determines whether the appointments are painted with modern colors and borders. The default value is true.
Declaration
public bool UseModernAppointmentStyles { get; set; }
Property Value
ViewElement
Gets the view element.
Declaration
[Browsable(false)]
public SchedulerViewElement ViewElement { get; }
Property Value
The view element.
Methods
AddNewAppointmentWithDialog(DateTimeInterval, bool, SchedulerResourceCollection)
Shows the appointment edit dialog to add a new appointment.
Declaration
public void AddNewAppointmentWithDialog(DateTimeInterval interval, bool recurringAppointment, SchedulerResourceCollection resources)
Parameters
interval
The interval to pass to the ShowAppointmentEditDialog method.
recurringAppointment
Indicates whether the appointment should be a recurring one.
resources
The resources of the new appointment.
AddNewAppointmentWithDialog(DateTimeInterval, bool, bool, SchedulerResourceCollection)
Shows the appointment edit dialog to add a new appointment.
Declaration
public void AddNewAppointmentWithDialog(DateTimeInterval interval, bool allDay, bool recurringAppointment, SchedulerResourceCollection resources)
Parameters
interval
The interval to pass to the ShowAppointmentEditDialog method.
allDay
Indicates whether the appointment should be an AllDay appointment.
recurringAppointment
Indicates whether the appointment should be a recurring one.
resources
The resources of the new appointment.
AddNewAppointmentWithDialog(IEvent, DateTimeInterval, bool, SchedulerResourceCollection)
Declaration
public virtual void AddNewAppointmentWithDialog(IEvent appointment, DateTimeInterval interval, bool recurringAppointment, SchedulerResourceCollection resources)
Parameters
appointment
interval
recurringAppointment
resources
ClearReminders()
Clears the reminders of all appointments. Usually this method is used before LoadReminders is called.
Declaration
public void ClearReminders()
ControlDefinesThemeForElement(RadElement)
Determines whether this control defines the theme for the specified element.
Declaration
public override bool ControlDefinesThemeForElement(RadElement element)
Parameters
element
The element to check.
Returns
true if this control defines the theme for the element; otherwise, false.
Overrides
Copy()
Copies the currently selected appointments to the clipboard.
Declaration
public void Copy()
CreateAccessibilityInstance()
Creates the accessibility instance for the RadScheduler control.
Declaration
protected override AccessibleObject CreateAccessibilityInstance()
Returns
An AccessibleObject instance that provides accessibility information for the control.
Overrides
CreateAppointmentEditDialog()
Creates the appointment edit dialog. Overwrite in an inheriting class to replace the dialog used to edit appointments.
Declaration
protected virtual IEditAppointmentDialog CreateAppointmentEditDialog()
Returns
IEditAppointmentDialog
CreateBackgroundInfo(AppointmentBackground, string, Color, Color)
Declaration
protected virtual AppointmentBackgroundInfo CreateBackgroundInfo(AppointmentBackground category, string stringId, Color backColor, Color backColor2)
Parameters
category
stringId
backColor
backColor2
Returns
CreateBackgroundInfo(AppointmentBackground, string, Color, Color, Color, Color)
Declaration
protected virtual AppointmentBackgroundInfo CreateBackgroundInfo(AppointmentBackground category, string stringId, Color backColor, Color backColor2, Color foreColor, Color borderColor)
Parameters
category
stringId
backColor
backColor2
foreColor
borderColor
Returns
CreateChildItems(RadElement)
Creates the child items for the RadScheduler control.
Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
parent
The parent element to which the child items will be added.
Overrides
CreateRadSchedulerElement()
Creates the RadSchedulerElement for this scheduler.
Declaration
protected virtual RadSchedulerElement CreateRadSchedulerElement()
Returns
A RadSchedulerElement instance that will be used as the main element for this scheduler.
Cut()
Deletes the currently selected appointments and saves them to the clipboard.
Declaration
public void Cut()
DataBind()
Binds the scheduler to its data source and populates appointments and resources collections.
Declaration
public void DataBind()
Dispose(bool)
Releases the unmanaged resources used by the Component and optionally releases the managed resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
disposing
true to release both managed and unmanaged resources; false to release only unmanaged resources.
Overrides
Export(ISchedulerExporter)
Exports the data in this RadScheduler instance in a string, using the specified ISchedulerExporter instance.
Declaration
public virtual string Export(ISchedulerExporter exporter)
Parameters
exporter
Returns
Export(Stream, ISchedulerExporter)
Exports the data in this RadScheduler instance to the specified stream, using the specified ISchedulerExporter instance.
Declaration
public virtual void Export(Stream stream, ISchedulerExporter exporter)
Parameters
stream
exporter
FillDefaultBackgrounds(SchedulerBackgroundCollection)
Fills the default backgrounds.
Declaration
protected virtual void FillDefaultBackgrounds(SchedulerBackgroundCollection backgrounds)
Parameters
backgrounds
The background collection in which to add the background objects.
FillDefaultReminders(SchedulerReminderCollection)
Fills the default reminder intervals.
Declaration
protected virtual void FillDefaultReminders(SchedulerReminderCollection reminders)
Parameters
reminders
The reminder collection in which to add the reminder objects.
FillDefaultStatuses(SchedulerStatusCollection)
Fills the default statuses.
Declaration
protected virtual void FillDefaultStatuses(SchedulerStatusCollection statuses)
Parameters
statuses
The status collection in which to add the status objects.
GetAgendaView()
Gets the agenda view.
Declaration
public SchedulerAgendaView GetAgendaView()
Returns
GetBackgroundStorage()
Gets the background storage.
Declaration
public virtual ISchedulerStorage<IAppointmentBackgroundInfo> GetBackgroundStorage()
Returns
Implements
GetDayView()
Gets the day view.
GetEventStorage()
Gets the event storage.
Declaration
public virtual ISchedulerStorage<IEvent> GetEventStorage()
Returns
Implements
GetImageElement(RadElement, Color)
Creates a light visual element with an image of the specified element.
Declaration
protected virtual LightVisualElement GetImageElement(RadElement element, Color backColor)
Parameters
element
The element to create an image from.
backColor
The background color for the image.
Returns
A LightVisualElement containing the image of the specified element.
GetMonthView()
Gets the month view.
GetMultiDayView()
Gets the multi day view.
Declaration
public SchedulerMultiDayView GetMultiDayView()
Returns
GetReminderStorage()
Gets the reminder storage.
Declaration
public virtual ISchedulerStorage<IAppointmentReminderInfo> GetReminderStorage()
Returns
Implements
GetResourceStorage()
Gets the resource storage.
Declaration
public virtual ISchedulerStorage<IResource> GetResourceStorage()
Returns
Implements
GetStatusStorage()
Gets the status storage.
Declaration
public virtual ISchedulerStorage<IAppointmentStatusInfo> GetStatusStorage()
Returns
Implements
GetTimelineView()
Gets the timeline view.
Declaration
public SchedulerTimelineView GetTimelineView()
Returns
GetValuesByViewElement(SchedulerVisualElement)
Declaration
protected virtual ViewData GetValuesByViewElement(SchedulerVisualElement viewElement)
Parameters
viewElement
Returns
GetWeekView()
Gets the week view.
HandleDayViewPan(PanGestureEventArgs, SchedulerDayView)
Declaration
protected virtual void HandleDayViewPan(PanGestureEventArgs args, SchedulerDayView view)
Parameters
args
view
HandleMonthViewPan(PanGestureEventArgs, SchedulerMonthView)
Handles pan gestures in the month view.
Declaration
protected virtual void HandleMonthViewPan(PanGestureEventArgs args, SchedulerMonthView monthView)
Parameters
args
The PanGestureEventArgs instance containing the event data.
monthView
The month view instance.
HandleTimelineViewPan(PanGestureEventArgs, SchedulerTimelineView)
Declaration
protected virtual void HandleTimelineViewPan(PanGestureEventArgs args, SchedulerTimelineView timeLine)
Parameters
args
timeLine
HandleWeekViewPan(PanGestureEventArgs, SchedulerWeekView)
Handles pan gestures in the week view.
Declaration
protected virtual void HandleWeekViewPan(PanGestureEventArgs args, SchedulerWeekView weekView)
Parameters
args
The PanGestureEventArgs instance containing the event data.
weekView
The week view instance.
Import(Stream, ISchedulerImporter)
Imports the data from the specified stream into this RadScheduler instance, using the specified ISchedulerImporter instance.
Declaration
public virtual void Import(Stream stream, ISchedulerImporter importer)
Parameters
stream
importer
Import(string, ISchedulerImporter)
Imports the data from the specified string into this RadScheduler instance, using the specified ISchedulerImporter instance.
Declaration
public virtual void Import(string stringData, ISchedulerImporter importer)
Parameters
stringData
importer
LoadReminders(Stream)
Loads the reminders from the specified stream.
Declaration
public void LoadReminders(Stream stream)
Parameters
stream
The steam to load reminders from.
LoadReminders(string)
Loads the reminders from the specified file path.
Declaration
public void LoadReminders(string filePath)
Parameters
filePath
The path to the file to load reminders from.
OnActiveViewChanged(SchedulerView, SchedulerView)
Raises the ActiveViewChanged event.
Declaration
protected virtual void OnActiveViewChanged(SchedulerView oldView, SchedulerView newView)
Parameters
oldView
The previous active view.
newView
The new active view.
OnActiveViewChanging(SchedulerView, SchedulerView)
Declaration
protected virtual bool OnActiveViewChanging(SchedulerView oldView, SchedulerView newView)
Parameters
oldView
newView
Returns
OnAddAppointments(IList)
Called when appointments have been added.
Declaration
protected virtual void OnAddAppointments(IList list)
Parameters
list
The list of added appointments.
OnAppointmentAdded(AppointmentAddedEventArgs)
Declaration
protected virtual void OnAppointmentAdded(AppointmentAddedEventArgs args)
Parameters
args
OnAppointmentDeleted(SchedulerAppointmentEventArgs)
Declaration
protected virtual void OnAppointmentDeleted(SchedulerAppointmentEventArgs args)
Parameters
args
OnAppointmentDeleting(SchedulerAppointmentCancelEventArgs)
Declaration
protected virtual void OnAppointmentDeleting(SchedulerAppointmentCancelEventArgs args)
Parameters
args
OnAppointmentDropped(AppointmentMovedEventArgs)
Declaration
protected virtual void OnAppointmentDropped(AppointmentMovedEventArgs args)
Parameters
args
OnAppointmentDropping(AppointmentMovingEventArgs)
Declaration
protected virtual void OnAppointmentDropping(AppointmentMovingEventArgs args)
Parameters
args
OnAppointmentEditDialogShowing(IEvent, IEditAppointmentDialog)
Raises the AppointmentEditDialogShowing event.
Declaration
protected virtual IEditAppointmentDialog OnAppointmentEditDialogShowing(IEvent appointment, IEditAppointmentDialog dialog)
Parameters
appointment
The appointment being edited.
dialog
IEditAppointmentDialog
The edit appointment dialog instance.
Returns
IEditAppointmentDialog
The dialog to be shown, or null if the operation was canceled.
OnAppointmentElementMouseDown(object, MouseEventArgs)
Raises the AppointmentElementMouseDown event.
Declaration
protected virtual void OnAppointmentElementMouseDown(object sender, MouseEventArgs args)
Parameters
sender
The source of the event.
args
The MouseEventArgs instance containing the event data.
OnAppointmentElementMouseMove(object, MouseEventArgs)
Raises the AppointmentElementMouseMove event.
Declaration
protected virtual void OnAppointmentElementMouseMove(object sender, MouseEventArgs args)
Parameters
sender
The source of the event.
args
The MouseEventArgs instance containing the event data.
OnAppointmentElementMouseUp(object, MouseEventArgs)
Raises the AppointmentElementMouseUp event.
Declaration
protected virtual void OnAppointmentElementMouseUp(object sender, MouseEventArgs args)
Parameters
sender
The source of the event.
args
The MouseEventArgs instance containing the event data.
OnAppointmentFormatting(SchedulerAppointmentEventArgs)
Raises the AppointmentFormatting event.
Declaration
protected virtual void OnAppointmentFormatting(SchedulerAppointmentEventArgs args)
Parameters
args
The SchedulerAppointmentEventArgs instance containing the event data.
OnAppointmentMouseDown(SchedulerAppointmentMouseEventArgs)
Declaration
protected virtual void OnAppointmentMouseDown(SchedulerAppointmentMouseEventArgs args)
Parameters
args
OnAppointmentMouseUp(SchedulerAppointmentMouseEventArgs)
Declaration
protected virtual void OnAppointmentMouseUp(SchedulerAppointmentMouseEventArgs args)
Parameters
args
OnAppointmentMoved(AppointmentMovedEventArgs)
Declaration
protected virtual void OnAppointmentMoved(AppointmentMovedEventArgs args)
Parameters
args
OnAppointmentMoving(AppointmentMovingEventArgs)
Declaration
protected virtual void OnAppointmentMoving(AppointmentMovingEventArgs args)
Parameters
args
OnAppointmentRender(AppointmentRenderEventArgs)
Raises the event.
Declaration
protected virtual void OnAppointmentRender(AppointmentRenderEventArgs args)
Parameters
args
The AppointmentRenderEventArgs instance containing the event data.
OnAppointmentResizeEnd(IEvent)
Declaration
protected virtual void OnAppointmentResizeEnd(IEvent appointment)
Parameters
appointment
OnAppointmentResizeStart(SchedulerAppointmentCancelEventArgs)
Declaration
protected virtual void OnAppointmentResizeStart(SchedulerAppointmentCancelEventArgs args)
Parameters
args
OnAppointmentResized(AppointmentResizedEventArgs)
Declaration
protected virtual void OnAppointmentResized(AppointmentResizedEventArgs args)
Parameters
args
OnAppointmentResizing(AppointmentResizingEventArgs)
Declaration
protected virtual void OnAppointmentResizing(AppointmentResizingEventArgs args)
Parameters
args
OnAppointmentSelected(SchedulerAppointmentSelectedEventArgs)
Declaration
protected virtual void OnAppointmentSelected(SchedulerAppointmentSelectedEventArgs args)
Parameters
args
OnAppointmentSelecting(SchedulerAppointmentCancelEventArgs)
Declaration
protected virtual void OnAppointmentSelecting(SchedulerAppointmentCancelEventArgs args)
Parameters
args
OnAppointmentsChanged(IList, string)
Called when one or more appointments have changed.
OnAppointmentsCopying(SchedulerClipboardEventArgs)
Declaration
protected virtual void OnAppointmentsCopying(SchedulerClipboardEventArgs args)
Parameters
args
OnAppointmentsPasting(SchedulerClipboardEventArgs)
Declaration
protected virtual void OnAppointmentsPasting(SchedulerClipboardEventArgs args)
Parameters
args
OnCellClick(SchedulerCellEventArgs)
Raises the CellClick event.
Declaration
protected virtual void OnCellClick(SchedulerCellEventArgs args)
Parameters
args
The SchedulerCellEventArgs instance containing the event data.
OnCellElementDoubleClick(object, EventArgs)
Raises the CellElementDoubleClick event.
OnCellElementKeyDown(object, KeyEventArgs)
Raises the CellElementKeyDown event.
Declaration
protected virtual void OnCellElementKeyDown(object sender, KeyEventArgs args)
Parameters
sender
The source of the event.
args
The KeyEventArgs instance containing the event data.
OnCellElementKeyPress(object, KeyPressEventArgs)
Raises the CellElementKeyPress event.
Declaration
protected virtual void OnCellElementKeyPress(object sender, KeyPressEventArgs args)
Parameters
sender
The source of the event.
args
The KeyPressEventArgs instance containing the event data.
OnCellElementKeyUp(object, KeyEventArgs)
Raises the CellElementKeyUp event.
Declaration
protected virtual void OnCellElementKeyUp(object sender, KeyEventArgs args)
Parameters
sender
The source of the event.
args
The KeyEventArgs instance containing the event data.
OnCellElementMouseDown(object, MouseEventArgs)
Raises the CellElementMouseDown event.
Declaration
protected virtual void OnCellElementMouseDown(object sender, MouseEventArgs args)
Parameters
sender
The source of the event.
args
The MouseEventArgs instance containing the event data.
OnCellElementMouseMove(object, MouseEventArgs)
Raises the CellElementMouseMove event.
Declaration
protected virtual void OnCellElementMouseMove(object sender, MouseEventArgs args)
Parameters
sender
The source of the event.
args
The MouseEventArgs instance containing the event data.
OnCellElementMouseUp(object, MouseEventArgs)
Raises the CellElementMouseUp event.
Declaration
protected virtual void OnCellElementMouseUp(object sender, MouseEventArgs args)
Parameters
sender
The source of the event.
args
The MouseEventArgs instance containing the event data.
OnCellFormatting(SchedulerCellEventArgs)
Raises the CellFormatting event.
Declaration
protected virtual void OnCellFormatting(SchedulerCellEventArgs args)
Parameters
args
The SchedulerCellEventArgs instance containing the event data.
OnCellOverflowButtonClicked(SchedulerCellEventArgs)
Raises the CellOverflowButtonClicked event.
Declaration
protected virtual bool OnCellOverflowButtonClicked(SchedulerCellEventArgs args)
Parameters
args
The SchedulerCellEventArgs instance containing the event data.
Returns
true if the event was handled; otherwise, false.
OnCellPaint(SchedulerCellPaintEventArgs)
Raises the event.
Declaration
protected virtual void OnCellPaint(SchedulerCellPaintEventArgs args)
Parameters
args
The SchedulerCellPaintEventArgs instance containing the event data.
OnCellSelectionChanged(EventArgs)
Declaration
protected virtual void OnCellSelectionChanged(EventArgs args)
Parameters
args
OnCellSelectionChanging(SchedulerCellSelectingEventArgs)
Declaration
protected virtual void OnCellSelectionChanging(SchedulerCellSelectingEventArgs args)
Parameters
args
OnContextMenuOpening(SchedulerContextMenuOpeningEventArgs)
Raises the event.
Declaration
protected virtual void OnContextMenuOpening(SchedulerContextMenuOpeningEventArgs e)
Parameters
e
SchedulerContextMenuOpeningEventArgs
The SchedulerContextMenuOpeningEventArgs instance containing the event data.
OnCultureChanged()
Fires the CultureChanged event.
Declaration
protected virtual void OnCultureChanged()
OnDataBindingComplete(object, EventArgs)
Raises the DataBindingComplete event.
OnEditorRequired(SchedulerEditorRequiredArgs)
Fired when the editor should be opened
Declaration
protected virtual void OnEditorRequired(SchedulerEditorRequiredArgs args)
Parameters
args
OnGotFocus(EventArgs)
Declaration
protected override void OnGotFocus(EventArgs e)
Parameters
e
Overrides
OnKeyDown(KeyEventArgs)
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
e
Overrides
OnLoad(Size)
Notifies that the control is about to be visualized.
Declaration
protected override void OnLoad(Size desiredSize)
Parameters
desiredSize
Overrides
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
e
Overrides
OnMouseEnter(EventArgs)
Declaration
protected override void OnMouseEnter(EventArgs e)
Parameters
e
Overrides
OnMouseLeave(EventArgs)
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
e
Overrides
OnMouseMove(MouseEventArgs)
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
e
Overrides
OnMouseUp(MouseEventArgs)
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
e
Overrides
OnMouseWheel(MouseEventArgs)
Declaration
protected override void OnMouseWheel(MouseEventArgs e)
Parameters
e
Overrides
OnPanGesture(PanGestureEventArgs)
Handles pan gestures to enable touchscreen navigation and scrolling.
Declaration
protected override void OnPanGesture(PanGestureEventArgs args)
Parameters
args
The PanGestureEventArgs instance containing the event data.
Overrides
OnRecurrenceDeleteDialogShowing(IEvent, IDeleteRecurringAppointmentDialog)
Raises the RecurrenceDeleteDialogShowing event.
Declaration
protected virtual IDeleteRecurringAppointmentDialog OnRecurrenceDeleteDialogShowing(IEvent appointment, IDeleteRecurringAppointmentDialog dialog)
Parameters
appointment
The recurring appointment being deleted.
dialog
IDeleteRecurringAppointmentDialog
The recurrence delete dialog instance.
Returns
IDeleteRecurringAppointmentDialog
The dialog to be shown, or null if the operation was canceled.
OnRecurrenceEditDialogShowing(IEvent, IEditRecurrenceDialog)
Raises the RecurrenceEditDialogShowing event.
Declaration
protected virtual IEditRecurrenceDialog OnRecurrenceEditDialogShowing(IEvent appointment, IEditRecurrenceDialog dialog)
Parameters
appointment
The recurring appointment being edited.
dialog
IEditRecurrenceDialog
The recurrence edit dialog instance.
Returns
IEditRecurrenceDialog
The dialog to be shown, or null if the operation was canceled.
OnRemoveAppointments(IList)
Called when appointments have been removed.
Declaration
protected virtual void OnRemoveAppointments(IList list)
Parameters
list
The list of removed appointments.
OnReplaceAppointments(IList, IList)
Called when appointments have been replaced.
OnResourceStartIndexChanged()
Declaration
protected virtual void OnResourceStartIndexChanged()
OnResourceStartIndexChanging(ResourceIndexChangingEventArgs)
Declaration
protected virtual void OnResourceStartIndexChanging(ResourceIndexChangingEventArgs args)
Parameters
args
OnRulerTextFormatting(RulerTextFormattingEventArgs)
Raises the event.
Declaration
protected virtual void OnRulerTextFormatting(RulerTextFormattingEventArgs args)
Parameters
args
The event arguments.
OnThemeChanged()
Declaration
protected override void OnThemeChanged()
Overrides
OnUpdateAppointments()
Called when appointments have to be refreshed.
Declaration
protected virtual void OnUpdateAppointments()
OnValidated(EventArgs)
Declaration
protected override void OnValidated(EventArgs e)
Parameters
e
Overrides
OnViewNavigated(SchedulerViewNavigatedEventArgs)
Declaration
protected virtual void OnViewNavigated(SchedulerViewNavigatedEventArgs args)
Parameters
args
OnViewNavigating(SchedulerViewNavigatingEventArgs)
Declaration
protected virtual void OnViewNavigating(SchedulerViewNavigatingEventArgs args)
Parameters
args
OnZoomGesture(ZoomGestureEventArgs)
Handles zoom gestures to enable changing views and scaling through pinch-to-zoom functionality.
Declaration
protected override void OnZoomGesture(ZoomGestureEventArgs args)
Parameters
args
The ZoomGestureEventArgs instance containing the event data.
Overrides
Paste()
Pastes the content from the clipboard to the scheduler.
Declaration
public void Paste()
Print()
Directly prints the RadScheduler to the default printer.
Declaration
public virtual void Print()
Print(bool)
Directly prints the RadScheduler to the default printer or shows printer settitngs and then prints the RadGridView.
Declaration
public virtual void Print(bool showPrinterSettings)
Parameters
showPrinterSettings
Indicates whether printer settings dialog should be shown.
Print(bool, RadPrintDocument)
Directly prints the RadScheduler to the default printer or shows printer settitngs and then prints the RadGridView.
Declaration
public virtual void Print(bool showPrinterSettings, RadPrintDocument document)
Parameters
showPrinterSettings
Indicates whether printer settings dialog should be shown.
document
As instance of RadPrintDocument used to control the print process.
PrintPreview()
Shows a RadPrintPreviewDialog for editing the RadScheduler print settings. This method creates a new instance of RadPrintDocument and passes it to the overloaded PrintPreview method.
Declaration
public virtual void PrintPreview()
PrintPreview(RadPrintDocument)
Shows a RadPrintPreviewDialog for editing the RadScheduler print settings. This method temporarily changes the view type if needed and displays the print preview dialog.
Declaration
public virtual void PrintPreview(RadPrintDocument document)
Parameters
document
An instance of RadPrintDocument used to control the print process.
SaveReminders(Stream)
Saves all appointment reminders to the provided stream.
Declaration
public void SaveReminders(Stream stream)
Parameters
stream
The stream to save the reminders to.
SaveReminders(string)
Saves all appointment reminders to the provided file. If the file does not exist it is created otherwise it is overwritten.
Declaration
public void SaveReminders(string filePath)
Parameters
filePath
The path to the file to save the reminders to.
SetValuesToViewElement(SchedulerVisualElement, ViewData)
Declaration
protected virtual void SetValuesToViewElement(SchedulerVisualElement viewElement, ViewData viewData)
Parameters
viewElement
viewData
ShowAppointmentEditDialog(IEvent, bool)
Shows the appointment edit dialog.
Declaration
public virtual DialogResult ShowAppointmentEditDialog(IEvent appointment, bool recurringAppointment)
Parameters
appointment
The appointment.
recurringAppointment
if set to true shows the recurrence rule edit dialog just after the appointment edit dialog.
Returns
ShowContextMenu(Point)
Displays the context menu associated with this control on the provided location.
Declaration
public void ShowContextMenu(Point location)
Parameters
location
The location where the context menu should open.
SynchronizeStartDate(SchedulerView, SchedulerView)
Declaration
protected virtual void SynchronizeStartDate(SchedulerView oldView, SchedulerView newView)
Parameters
oldView
newView
SynchronizeViewsSettings(SchedulerView, SchedulerView, ViewData)
Declaration
protected virtual void SynchronizeViewsSettings(SchedulerView oldView, SchedulerView newView, ViewData viewData)
Parameters
oldView
newView
viewData
WndProc(ref Message)
Declaration
protected override void WndProc(ref Message m)
Parameters
m
Overrides
Events
ActiveViewChanged
Occurs when the ActiveView has changed.
Declaration
public event EventHandler<SchedulerViewChangedEventArgs> ActiveViewChanged
Event Value
ActiveViewChanging
Occurs when the ActiveView is about to change.
Declaration
public event EventHandler<SchedulerViewChangingEventArgs> ActiveViewChanging
Event Value
AppointmentAdded
Occurs when the end user adds an appointment either with the EditAppointmentDialog or inline.
Declaration
public event EventHandler<AppointmentAddedEventArgs> AppointmentAdded
Event Value
AppointmentChanged
Occurs when an appointment's property has changed.
Declaration
public event EventHandler<AppointmentChangedEventArgs> AppointmentChanged
Event Value
AppointmentDeleted
Occurs when the scheduler has deleted the selected appointment.
Declaration
public event EventHandler<SchedulerAppointmentEventArgs> AppointmentDeleted
Event Value
AppointmentDeleting
Occurs when the scheduler is deleting the selected appointment.
Declaration
public event EventHandler<SchedulerAppointmentCancelEventArgs> AppointmentDeleting
Event Value
AppointmentDropped
Occurs when the an appointment has been dropped.
Declaration
public event EventHandler<AppointmentMovedEventArgs> AppointmentDropped
Event Value
AppointmentDropping
Occurs when the an appointment is about to be dropped.
Declaration
public event EventHandler<AppointmentMovingEventArgs> AppointmentDropping
Event Value
AppointmentEditDialogShowing
Occurs when the EditAppointmentDialog is showing.
Declaration
public event EventHandler<AppointmentEditDialogShowingEventArgs> AppointmentEditDialogShowing
Event Value
AppointmentElementDoubleClick
Occurs when the DoubleClick event of an appointment element is fired.
Declaration
public event EventHandler AppointmentElementDoubleClick
Event Value
AppointmentElementMouseDown
Occurs when the MouseDown event of an appointment element is fired.
Declaration
public event MouseEventHandler AppointmentElementMouseDown
Event Value
AppointmentElementMouseMove
Occurs when the MouseMove event of an appointment element is fired.
Declaration
public event MouseEventHandler AppointmentElementMouseMove
Event Value
AppointmentElementMouseUp
Occurs when the MouseUp event of an appointment element is fired.
Declaration
public event MouseEventHandler AppointmentElementMouseUp
Event Value
AppointmentFormatting
Occurs when an appointment element is prepared to be displayed. Use this event to modify visual properties of the AppointmentElement. Modifying data properties on the formatting events can result in exceptions.
Declaration
public event EventHandler<SchedulerAppointmentEventArgs> AppointmentFormatting
Event Value
AppointmentMouseDown
Occurs when the MouseDown event of an appointment is fired.
Declaration
public event EventHandler<SchedulerAppointmentMouseEventArgs> AppointmentMouseDown
Event Value
AppointmentMouseUp
Occurs when the MouseUp event of an appointment is fired.
Declaration
public event EventHandler<SchedulerAppointmentMouseEventArgs> AppointmentMouseUp
Event Value
AppointmentMoved
Occurs when the an appointment has been moved.
Declaration
public event EventHandler<AppointmentMovedEventArgs> AppointmentMoved
Event Value
AppointmentMoving
Occurs when the an appointment is about to be moved.
Declaration
public event EventHandler<AppointmentMovingEventArgs> AppointmentMoving
Event Value
AppointmentPrintElementFormatting
Fires when an appointment print element is being formatted before it is printed.
Declaration
public event PrintAppointmentEventHandler AppointmentPrintElementFormatting
Event Value
AppointmentPrintElementPaint
Fires when an appointment print element is printed.
Declaration
public event PrintAppointmentPaintEventHandler AppointmentPrintElementPaint
Event Value
AppointmentRender
Occurs when appointment element is rendered.
Declaration
public event AppointmentRenderHandler AppointmentRender
Event Value
AppointmentResizeEnd
Occurs when the a resize operation has ended.
Declaration
public event EventHandler<SchedulerAppointmentEventArgs> AppointmentResizeEnd
Event Value
AppointmentResizeStart
Occurs when the a rezie operation is starting. Cancelable.
Declaration
public event EventHandler<SchedulerAppointmentCancelEventArgs> AppointmentResizeStart
Event Value
AppointmentResized
Occurs when the an appointment has been resized.
Declaration
public event EventHandler<AppointmentResizedEventArgs> AppointmentResized
Event Value
AppointmentResizing
Occurs when the an appointment is about to be resized.
Declaration
public event EventHandler<AppointmentResizingEventArgs> AppointmentResizing
Event Value
AppointmentSelected
Occurs when an appointment is selected.
Declaration
public event EventHandler<SchedulerAppointmentSelectedEventArgs> AppointmentSelected
Event Value
AppointmentSelecting
Occurs when an appointment will be selected.
Declaration
public event EventHandler<SchedulerAppointmentCancelEventArgs> AppointmentSelecting
Event Value
AppointmentsCopying
Fired by the Copy operation when the scheduler is about to prepare the clipboard data. This event allows you to cancel the default action and implement a custom one.
Declaration
public event EventHandler<SchedulerClipboardEventArgs> AppointmentsCopying
Event Value
AppointmentsPasting
Fired by the Paste operation when the scheduler is about to read the clipboard data. This event allows you to cancel the default action and implement a custom one.
Declaration
public event EventHandler<SchedulerClipboardEventArgs> AppointmentsPasting
Event Value
CellClick
Occurs when a cell is clicked.
Declaration
public event EventHandler<SchedulerCellEventArgs> CellClick
Event Value
CellElementDoubleClick
Occurs when the DoubleClick event of the cell is fired.
Declaration
public event EventHandler CellElementDoubleClick
Event Value
CellElementKeyDown
Occurs when the KeyDown event of the cell is fired.
Declaration
public event KeyEventHandler CellElementKeyDown
Event Value
CellElementKeyPress
Occurs when the KeyPressed event of the cell is fired.
Declaration
public event KeyPressEventHandler CellElementKeyPress
Event Value
CellElementKeyUp
Occurs when the KeyUp event of the cell is fired.
Declaration
public event KeyEventHandler CellElementKeyUp
Event Value
CellElementMouseDown
Occurs when the MouseDown event of the cell is fired.
Declaration
public event MouseEventHandler CellElementMouseDown
Event Value
CellElementMouseMove
Occurs when the MouseMove event of the cell is fired.
Declaration
public event MouseEventHandler CellElementMouseMove
Event Value
CellElementMouseUp
Occurs when the MouseUp event of the cell is fired.
Declaration
public event MouseEventHandler CellElementMouseUp
Event Value
CellFormatting
Fired when a cell element is being prepared for displaying. Use this event to modify visual properties of the SchedulerCellElement. Modifying data properties on the formatting events can result in exceptions.
Declaration
public event EventHandler<SchedulerCellEventArgs> CellFormatting
Event Value
CellOverflowButtonClicked
Occurs when the overflow arrow of a cell in MonthView is clicked. When this event is handled, the default action of the overflow arrow is not executed.
Declaration
public event EventHandler<SchedulerCellEventArgs> CellOverflowButtonClicked
Event Value
CellPaint
Occurs after a cell is drawn. Allows custom painting over the cell element. EnableCustomCellDrawing must be set to true for this event to be fired.
Declaration
public event EventHandler<SchedulerCellPaintEventArgs> CellPaint
Event Value
CellPrintElementFormatting
Fires when a cell print element is being formatted before it is printed.
Declaration
public event PrintSchedulerCellEventHandler CellPrintElementFormatting
Event Value
CellPrintElementPaint
Fires when a cell print element is printed.
Declaration
public event PrintSchedulerCellPaintEventHandler CellPrintElementPaint
Event Value
CellSelectionChanged
Occurs when the cell selection has changed.
Declaration
public event EventHandler CellSelectionChanged
Event Value
CellSelectionChanging
Occurs when the cell selection is about to change. Cancelable.
Declaration
public event EventHandler<SchedulerCellSelectingEventArgs> CellSelectionChanging
Event Value
ContextMenuOpening
Occurs before the context menu is opened.
Declaration
public event SchedulerContextMenuOpeningEventHandler ContextMenuOpening
Event Value
CultureChanged
Occurs when culture has changed
Declaration
public event EventHandler CultureChanged
Event Value
Implements
DataBindingComplete
Occurs when the Data is loaded from the data source.
Declaration
public event EventHandler DataBindingComplete
Event Value
EditorRequired
Occurs when an inline appointment editor is required.
Declaration
public event EventHandler<SchedulerEditorRequiredArgs> EditorRequired
Event Value
PrintElementFormatting
Fires when a print element is being formatted before it is printed.
Declaration
public event PrintElementEventHandler PrintElementFormatting
Event Value
PrintElementPaint
Fires when a print element is printed.
Declaration
public event PrintElementPaintEventHandler PrintElementPaint
Event Value
RecurrenceDeleteDialogShowing
Occurs when the DeleteRecurrenceDialog is showing.
Declaration
public event EventHandler<RecurrenceDeleteDialogShowingEventArgs> RecurrenceDeleteDialogShowing
Event Value
RecurrenceEditDialogShowing
Occurs when the EditReccurenceDialog is showing.
Declaration
public event EventHandler<RecurrenceEditDialogShowingEventArgs> RecurrenceEditDialogShowing
Event Value
ResourceStartIndexChanged
Occurs when the ResourceStartIndex has changed. Fired only when grouping by resource.
Declaration
public event EventHandler ResourceStartIndexChanged
Event Value
ResourceStartIndexChanging
Occurs when the ResourceStartIndex is about to change. Cancelable. Fired only when grouping by resource.
Declaration
public event EventHandler<ResourceIndexChangingEventArgs> ResourceStartIndexChanging
Event Value
RulerTextFormatting
Occurs when the text of a ruler is drawn.
Declaration
public event EventHandler<RulerTextFormattingEventArgs> RulerTextFormatting
Event Value
ViewNavigated
Occurs when the view has changed and this is caused by a click on the ViewNavigationElement.
Declaration
public event EventHandler<SchedulerViewNavigatedEventArgs> ViewNavigated
Event Value
ViewNavigating
Occurs when the view is about to change and this is caused by a click on the ViewNavigationElement.
Declaration
public event EventHandler<SchedulerViewNavigatingEventArgs> ViewNavigating
Event Value