Syncfusion.Schedule.Windows
The Syncfusion.Windows.Forms.Schedule namespace contains classes that defines the functionality of Essential ScheduleControl that scheduling new appointment and modifying the appointments with a Navigation calendar.
It also specifies the multiple views of the scheduled appointments in the ScheduleControl.
Displays appointment reminder alerts.
Initializes a new instance of the class.
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
Clears all events and data used by this AlertWindow and closes it.
Informs the form of the active IScheduleAppointmentList and the IDataProvider.
The .
Creates a list of items that require alerts at the time of the call.
This method is called when is set true.
Gets the GridControl that lists the alert items.
You can directly access this GridControl to change its look. Here is some code that
changes its look.
this.ScheduleControl1.AlertWindow.BackColor = Color.FromArgb(240, 240, 255);
this.ScheduleControl1.AlertWindow.Grid.TableStyle.BackColor = Color.FromArgb(100, 240, 240, 255);
this.ScheduleControl1.AlertWindow.Grid.Properties.BackgroundColor = Color.FromArgb(100, Color.Blue);
Syncfusion.Windows.Forms.Grid.GridStyleInfo headerStyle = this.ScheduleControl1.AlertWindow.Grid.BaseStylesMap["Header"].StyleInfo;
headerStyle.Interior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, Color.Blue, Color.White);
this.ScheduleControl1.AlertWindow.Grid.Refresh();
Me.ScheduleControl1.AlertWindow.BackColor = Color.FromArgb(240, 240, 255)
Me.ScheduleControl1.AlertWindow.Grid.TableStyle.BackColor = Color.FromArgb(100, 240, 240, 255)
Me.ScheduleControl1.AlertWindow.Grid.Properties.BackgroundColor = Color.FromArgb(100, Color.Blue)
Dim headerStyle As Syncfusion.Windows.Forms.Grid.GridStyleInfo = Me.ScheduleControl1.AlertWindow.Grid.BaseStylesMap("Header").StyleInfo
headerStyle.Interior = New Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, Color.Blue, Color.White)
Me.ScheduleControl1.AlertWindow.Grid.Refresh()
Gets the Label that displays the Subject of the item.
Gets the Label that displays the StartTime of the item.
Gets the Button that dismisses all the listed items.
Gets the Button that removes the AlertWindow and redisplays it in a specified period, SnoozeTime.
Gets the Button that dismisses the selected item.
Gets the i-th IScheduleAppointment in the alert list.
An integer between 0 and .
An IScheduleAppointment.
If the indexer is outside the valid number of items in the alert list, null is returned.
Gets the number of items in the current alert list.
Gets or sets the strings used as part of the alert window.
Gets or sets the time interval (in minutes) between checks for any item needing an alert.
Gets or sets the number of minutes that pressing the Snooze Button will hide the Alert window.
Gets or sets a value indicating whether a MeesageBeep should sound when the AlertWindow is shown.
Gets the integer equivalents of the strings in the Reminder dropdown.
The string to convert.
The minute value from display string.
Gets the time from the given minute.
The minute value to convert.
returns the string to be displayed in the Time column
To raise the item changing event.
IScheduleAppointment item
ItemAction
Returns the boolean value.
To raise the item changed event.
IScheduleAppointment item
ItemAction
Overrides the event to sound a beep when an alert appears.
The that contains the event data.
Raises the event.
The that contains the event data.
Occurs when an AlertWindow is made visible and SoundAlert is true.
You can use this event to apply custom notification sounds if desired. Setting
e.Cancel = true will prevent the default MessageBeep. The sender object will
be the ALertForm, and you can index it to retrieve the current IScheduleAppointments
waiting in the alert list. You can use to get the number of items
in the current alert list.
Overrides the event to make sure timer is off and hide the form instead of closing it.
The that contains the event data.
Used to sync up labels on the form with the current selected item in the grid.
The source grid control.
The that contains the event data.
Used to make column 1 take up the remaining client width.
The source grid control.
The that contains the event data.
Used to avoid any activations.
The source grid control.
The that contains the event data.
Used to set the row count from the list
The source grid control.
The that contains the event data.
Used to set the values from the list.
The source grid control.
The that contains the event data.
Displays a form allowing a user to edit information in a .
Gets the button that is used to display the default recurrence dialog if needed by the data provider.
If you want a custom dialog display, you can call ,
and then subscribe to this member's Click event to display your own dialog.
Required designer variable.
Initializes a new instance of the .
Switches the controls to RTL mode.
The control collections.
Gets or sets whether this form will use the RTL settings from
the ScheduleControl to decide whether to mirror the form.
Gets the required creation parameters when the control handle is created.
Gets or sets the value for Form.
Overridden to conditionally display the recurring event button.
The that contains the event data.
Use this method unsubscribe to the click event that opens the default recurrence dialog.
Clean up any resources being used.
Required method for Designer support - do not modify
the contents of this method with the code editor.
Initializes the form using the that provides
the data for the ScheduleControl.
The IScheduleDataProvider object.
The current item to be displayed on this form.
The time increment used in the time dropdowns.
The time format used in the time dropdowns.
IScheduleDataProvider is the object that provides the data to the ScheduleControl.
This includes items like the DropLists that provide the options for many of the
properties you see in IScheduleAppointments inaddition to the IScheduleAppointments themselves. This
method uses the information from the IScheduleDataProvider to populate the controls
on this form.
Sets the data provider to the scheduler.
providing the schedule item data to the ScheduleControl.
Defines the individual schedule items.
Specifies the timeslot.
Set the format.
Provides the schedule functionality.
Initializes the form using the that provides
the data for the ScheduleControl.
The IScheduleDataProvider object.
The current item to be displayed on this form.
IScheduleDataProvider is the object that provides the data to the ScheduleControl.
This includes items like the DropLists that provide the options for many of the
properties you see in IScheduleAppointments in addition to the IScheduleAppointments themselves. This
method uses the information from the IScheduleDataProvider to populate the controls
on this form.
Sets the controls in .
Sets the text for the recurring button.
The item.
Sets the end time combo box dropdown list items.
Converts the date time value to the drop down list item index.
The to convert.
An index of the drop down list item.
Converts the DateTime value to the index of the drop down.
The date time value string to convert.
An index of the dropdown
Moves values displayed in the form's Controls to the Item object.
populates the item from the values in the form
Used to find the selected index based on the date time value.
A elapsed date time string.
Start date time string.
Index of the drop down item.
Used to find the selected index based on the date time value.
An elapsed date time string.
Start .
Index of the drop down item.
Used to find the closet item in the drop down list.
An elapsed date time string.
Start .
Index of the closest item value based on date time value.
Used to find the closet item in the drop down list.
An elapsed date time string.
Start date time value string.
Index of the closest item value based on date time value.
Used to save the appointment form.
The source control.
The that contains the event data.
Used to cancel the changes in Appointment form.
the source control.
The that contains the data.
Used to show the recurring form.
The source control.
The that contains the event data.
Used to populate the drop list
The source control.
The that contains the event data.
Used to enable/disable controls dynamically
The source control.
The that contains the event data.
Used to enable/disable checkbox dynamically
The source control.
The that contains the event data.
Gets or sets the various strings used in the AppointmentForm.
Modifying the strings in this array will affect the display of the AppointmentForm.
You can use these strings to localize the labels that appear on the form.
Here are the default values of this string array.
public static string[] DisplayStrings = new string[]
{
"Subject:", // 0
"Location:", // 1
"Show time as:", // 2
"Reminder:", // 3
"All Day Event", // 4
"End Time:", // 5
"Start Time:", // 6
"Label:", // 7
"subject", // 8
"Cancel", // 9
"Save and Close", // 10
"Enter Appointment", // 11
"Delete this appointment that spans more than one day?", // 12
"Delete a Span", // 13
"Delete Span", // 14
"Edit Recurring", // 15
"Make Recurring" // 16
};
Initializes the default strings in appointment form.
Used to populate the time.
The minimum time slot.
The number format.
Represents the method that will handle the event.
The that contains the event data.
The source control.
Provides data for the event.
Initializes a new instance of the class.
Gets or sets the ScheduleAppointment.
A cancelable event that occurs before the Appointment form is displayed. You can swap the
the displayed form through the events arguments.
The source control.
The that contains the event data.
Provides data for the event.
The ShowingAppointmentForm event gives you a chance to provide your own AppointmentForm derived class. Set Cancel = true to
tell the ScheduleGrid not to display the AppointmentForm. If Cancel = true and Handled = true, then the ScheduleGrid will
try to save the Item.
Initializes a new instance of the class.
Gets or sets the AppointmentForm that will be displayed.
Gets or sets the metroAppointmentForm that will be displayed.
Gets or sets the appointment item that will display in the .
Gets a value indicating whether or not the appointment item is an existing or new item.
Gets or sets a value indicating whether the value in Item should be saved.
True if items are saved otherwise false.
For internal use.
Initializes a new instance of the class.
Gets the required creation parameters when the control handle is created.
For internal use.
Initializes a new instance of the class.
Gets the required creation parameters when the control handle is created.
For internal use.
Initializes a new instance of the class.
Sets the correct Popup location.
The Popup location.
Implements a dropdown list with colors associated with each list item.
Initializes a new instance of the class.
Gets or sets a value indicating whether color splotch should be drawn in the dropdown.
Overridden to draw color if ShowColor is true.
The that contains the event data.
Sets the correct Popup location.
Popup location.
Used to draw color block in the list of the dropdown.
The source control.
The that contains the event data.
Used to draw text offset so color block will show without overlapping.
The source control.
The that contains the event data.
Overrides the Entering event for selecting the drop down list item.
Overrides the painting event for drawing the rectangle.
Overrides the Leave event.
Implements the data / model part for a edge cell in ScheduleControl.
Initializes a new instance of the class.
The for serialization.
The
Initializes a new instance of the class.
The .
Creates the cell renderer.
The source grid control.
The cell renderer for this model.
Implements the renderer part of a edge cell in on the edge of the navigation calendars.
Initializes a new instance of the class.
The source grid control.
The cell model for this cell renderer.
Overrides the Draw event for customization.
Points to the device context.
Specifies the client rectangle. It is the cell rectangle without buttons and borders.
Specifies the row id.
Specifies the column id.
A reference to the style object of the cell.
Gets the Week number based on ISO 8601 standard.
The date value to convert.
the week number of the given date.
Determines if the navigation calendar has week number for specified row and column.
Row index of the date.
Column index of the date.
The week number.
Overrides the click event for navigation panel updates.
Row index of the clicked date.
Column index of the clicked date.
The that contains the event data.
Implements the data / model part for the cell in the AllDay panel at the top of the calendar.
Initializes a new instance of the class.
The for serialization.
The
Initializes a new instance of the class.
The .
Creates the cell renderer.
The source grid control.
The cell renderer for this model.
Implements the renderer part of the cell in the AllDay panel at the top of the calendar.
Initializes a new instance of the class.
The source grid control.
The cell model for this cell renderer.
Overrides the Draw event for customization.
Points to the device context.
Specifies the client rectangle. It is the cell rectangle without buttons and borders.
Specifies the row id.
Specifies the column id.
A reference to the style object of the cell.
Processes a key message and generates the appropriate control events.
The with data of the keyboard event.
True if key was handled; False otherwise.
Implements the data / model part for the cell in the AllDay panel at the top of the calendar.
Gets or sets the intensity.
Gets or sets the left margin.
Gets or sets the top margin.
Initializes a new instance of the class.
The source ScheduleControl.
Raises the appropriate control events.
The with data of the keyboard event.
True if key was handled; False otherwise.
Displays a form allowing a user to edit information in a .
Used to provide the advanced rendering features of the button
Initializes a new instance of the class.
Switches the controls to RTL mode.
The control collections.
Gets or sets a value indicating whether this form will use the RTL settings from
the ScheduleControl to decide whether to mirror the form.
Gets the required creation parameters when the control handle is created.
Gets or sets the value for AppointmentForm.
Overridden to conditionally display the recurring event button.
The that contains the event data.
Gets the form icon for specified icon name.
Name of the icon.
The file path.
Unsubscribe the click event that opens the default recurrence dialog.
Clean up any resources being used.
Required method for Designer support - do not modify
the contents of this method with the code editor.
Initializes the form using the that provides
the data for the ScheduleControl.
The IScheduleDataProvider object.
The current item to be displayed on this form.
The time increment used in the time dropdowns.
The time format used in the time dropdowns.
IScheduleDataProvider is the object that provides the data to the ScheduleControl.
This includes items like the DropLists that provide the options for many of the
properties you see in IScheduleAppointments in addition to the IScheduleAppointments themselves. This
method uses the information from the IScheduleDataProvider to populate the controls
on this form.
Sets the data provider to the scheduler
providing the schedule item data to the ScheduleControl
Defines the individual schedule items
Specifies the timeslot
set the format
provides the schedule functionality
Initializes the form using the that provides
the data for the ScheduleControl.
The IScheduleDataProvider object.
The current item to be displayed on this form.
IScheduleDataProvider is the object that provides the data to the ScheduleControl.
This includes items like the DropLists that provide the options for many of the
properties you see in IScheduleAppointments in addition to the IScheduleAppointments themselves. This
method uses the information from the IScheduleDataProvider to populate the controls
on this form.
Sets the text for the recurring button.
The item.
Sets the end time combo box dropdown list items.
Converts the date time value to the drop down list item index.
The to convert.
An index of the drop down list item.
Converts the DateTime value to the index of the drop down.
The date time value string to convert.
An index of the dropdown
Moves values displayed in the form's Controls to the Item object.
Populates the item from the values in the form.
Used to find the selected index based on the date time value.
A elapsed date time string.
Start date time string.
Index of the drop down item.
Used to find the selected index based on the date time value.
An elapsed date time string.
Start .
Index of the drop down item.
Used to find the closet item in the drop down list.
An elapsed date time string.
Start .
Index of the closest item value based on date time value.
Used to find the closet item in the drop down list.
An elapsed date time string.
Start date time value string.
Index of the closest item value based on date time value.
Used to save the appointment form.
The source control.
The that contains the event data.
Used to cancel the changes in Appointment form.
the source control.
The that contains the data.
Used to show the recurring form.
The source control.
The that contains the event data.
Used to populate the drop list
The source control.
The that contains the event data.
Used to enable/disable controls dynamically
The source control.
The that contains the event data.
Used to enable/disable checkbox dynamically
The source control.
The that contains the event data.
Gets or sets the various strings used in the AppointmentForm.
Modifying the strings in this array will affect the display of the AppointmentForm.
You can use these strings to localize the labels that appear on the form.
Here are the default values of this string array.
public static string[] DisplayStrings = new string[]
{
"Subject:", // 0
"Location:", // 1
"Show time as:", // 2
"Reminder:", // 3
"All Day Event", // 4
"End Time:", // 5
"Start Time:", // 6
"Label:", // 7
"subject", // 8
"Cancel", // 9
"Save and Close", // 10
"Enter Appointment", // 11
"Delete this appointment that spans more than one day?", // 12
"Delete a Span", // 13
"Delete Span", // 14
"Edit Recurring", // 15
"Make Recurring" // 16
};
Initializes the default strings in appointment form.
Used to populate the time.
The minimum time slot.
The number format.
A class to display one or more calendars that can be used to select particular dates
or date ranges to be displayed in the ScheduleControl.
This class has DateValueChanging and DateValueChanged events that let you listen
for changes in the date that determines which month is displayed in the top-most
calendar.
As you size this control, additional calendars with subsequent months will be
displayed, allowing your user to see multiple months in this navigation tool.
Gets the appearance of the ScheduleControl.
Initializes a new instance of the class.
NavigationCalendar is derived Panel that displays multiple calendars using
a GridControl. You can use a derived GridControl by overriding the
CreateCalendarGrid method and returning an instance of your derived
GrodControl.
Raises a event when the cell mouse hover leave.
Navigation calendar.
A with event data.
Raises a event when the cell mouse hover.
Navigation calendar
A with event data.
Overrides the paint event to set the proper color on very first paint.
The source control.
The that contains the event data.
A cancelable event raised before the property changes.
A notification event raised after the property changed.
Gets or sets the date value for the navigation control.
This value is used to determine the month displayed in
the topmost calendar (and hence the other calendars as
well.) Before this value changes, the cancelable DateValueChanging
is raised.
Sets the value of the DateValue property without raising DateValueChanging
or DateValueChanged events.
The new date value.
The property DateValue is used to determine the Month that appears
in the top most calendar. All other dates in the calendars are determines by this month.
This method allows the DateValue value to change without raising the normal change events.
Shifts the selected dates by month offsets.
The number of months by which the dates in SelectedDates will be adjusted.
Raises a cancelable event before a change to DateValue occurs.
Existing value of DateValue
Proposed value of DateValue
Whether or not the change should take place.
Raises a notification event that the DateValue has changed.
Gets the date value in the bottom-rightmost active-month cell of the navigation control.
Gets the date value in the top-left cell of the navigation control.
Gets or sets the DateTime value of the current day.
By default, this value is set to DateTime.MinValue. When
Today is DateTime.MinValue, the Today is not marked in the
navigation calendars.
Overridden to set the position of GridControl in the panel.
Creates the new instance for calendar grid.
Override this method to make this control use an instance of your derived GridControl class.
The GridControl used to display the calendars.
Gets the GridControl that is used to display the calendars.
The GridControl.
Use this method to access the GridControl used for the calendars. For examples,
you can get the date in the top-left most cell with this code.
The following code changes border information for cells:
//row 2 is the first row holding dates in the display grid
DateTime dt = (DateTime) this.CalenderGrid[2,1].CellValue;
'row 2 is the first row holding dates in the display grid
Dim dt as DateTime = Me.CalenderGrid(2,1).CellValue
Gets the date of the Monday prior to the passed-in date.
The date passed-in.
The date of the Monday prior to the passed-in date.
Gets the Sunday after the given date.
The date passed-in.
The Sunday following the given date.
Gets the date of the first day of month of the passed-in date.
The date passed-in.
The first day of the month containing the passed-in date.
Determines whether calendar cell is date cell for specified row and column index.
Row index of the date.
Column index of the date.
True if cell is date otherwise false.
Determines whether date is active date for specified value.
The number of months to be added.
The .
Used to trigger button click paging done in mouse down as it is more responsive than waiting for mouse up.
The source control.
The that contains the event data.
Gets or sets a value indicating whether week numbers should be displayed to the left of the navigation calendars.
Used to force location to be recomputed.
The source control.
The that contains the event data.
Used to handling the draw box around Today.
The source control.
The that contains the event data.
Gets the DateSelections collection, holding the dates selected in the navigation calendars.
Gets a value indicating whether control or shift is pressed
Gets the first of the week.
Gets the last day of the week.
Used to catch mouse up during a selection and make sure the
selected dates collection is sorted.
The source control.
The that contains the event data.
Used to add the selected dates.
The source control.
The that contains the event data.
Used to manage the date selection process - works with the SelectedDates collection
is an event handler for the GridControl.SelectionsChanging event
The source control.
The that contains the event data.
Suspends the drawing of this NavigationCalendar instance.
Resumes drawing of this NavigationCalendar instance.
Gets or sets a value indicating whether painting has to be suspended.
Used to make the header rows (holding the month name) look like one cell
in the virtual grid displaying the calendars
The source control.
The that contains the event data.
Used to control the header row heights (holding the month name) in
the virtual grid displaying the calendars
The source control.
The that contains the event data.
Used to control the widths of the columns in the virtual grid displaying the calendars
The source control.
The that contains the event data.
True if the current month is available in the scheduler
An event handler that provides the proper cell values and styles
based on the value of e.RowIndex and e.ColIndex.
The source control.
The that contains the event data.
Gets the first letter of the week of the day.
The first letter of the week day.
Gets the date at a particular row or column in
the grid. row 2 is first row with dates.
Row index of a cell.
Column index of a cell.
The date of specified cell.
Event handler used to conditionally display blanks above
and below active dates in the 'interior' calendars.
The source control.
The that contains the event data.
Empty ISupportInitialize.BeginInit implementation
Empty ISupportInitialize.EndInit implementation
Represents a method that handles an event with arguments
which is raised when a DateValue is about to change.
The source of the event.
The that contains the event data.
Represents a method that handles an event with arguments
which is raised when a DateValue has changed.
The source of the event.
The that contains the event data.
Provides data for the and event.
Initializes a new instance of the class.
The value of ScheduleControl.DateValue
before the change.
The value of ScheduleControl.DateValue
after the change if the event is not cancelled.
Gets or sets the new value for ScheduleControl.DateValue.
Gets or sets the existing value of ScheduleControl.DateValue.
Represents a method that handles an event
which is raised when ScheduleControl.Selections has changed.
The source of the event.
The that contains the event data.
Holds a collection of DateTime objects.
This class hold the dates that are the currently selected dates for
the ScheduleControl. As your user clicks and drags in the NavigationControl
panel, an instance of this class holds the currently selected dates.
Initializes a new instance of the class.
Gets or sets the DateTime value at position i in this collection.
The position used to retrieve the desired DateTime value.
Adds an object to the collection conditionally.
The object to be added.
This collection will only hold unique occurrences of each date.
This Add method hides the ArrayList.Add method to make
sure no duplicates are added. It also raises the
SelectionsChanged event.
Adds a collection of objects to this collection.
The collection to be added.
This method raises the
SelectionsChanged event.
Clears this collection.
This method raises the
SelectionsChanged event.
Removes a DateTime from this collection.
The date to be removed.
This method raises the
SelectionsChanged event.
Removes a item from this collection at the index passed inAddControlToNavigationPanel.
The index of the item to be removed.
This method raises the
SelectionsChanged event.
Removes a range of items from this collection.
The index of the first item to be removed.
The number of items to be removed.
This method raises the
SelectionsChanged event.
Occurs when items in the collection are added or removed.
Suspends the collection from raising the event.
You can call this method before making a series of additions/removals
from this collection. This will prevent any listener to SelectionsChanged from
seeing these changes. You can then use EndUpdate to resume the
SelectionsChanged event being raised.
Resumes the raising of the event.
False if you want the SelectionsChanged event
to be raised to alert event listeners to the current state of the collection.
Resumes the raising of the event.
Raises the SelectionsChanged event.
Displays a confirmation dialog for editing a recurring appointment.
Initializes a new instance of the class.
Gets or sets the value for Form.
Gets or sets a value indicating whether this form will use the RTL settings from
the ScheduleControl to decide whether to mirror the form.
Gets the required creation parameters when the control handle is created.
Used to set the single appointment edit action.
The source control.
The that contains the event data.
Used to set the all future appointment edit action.
The source control.
The that contains the event data.
Used to set the all appointment edit action.
The source control.
The that contains the event data.
Used to cancel the appoint action.
The source control.
The that contains the event data.
Gets the edit action specified by the user in this dialog.
This is the return value to indicate what choice the user made
in the dialog.
Required designer variable.
Clean up any resources being used.
True if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
Holds various strings used in the AppointmentForm.
Modifying the strings in this array will affect the display of the AppointmentForm.
You can use these strings to localize the labels that appear on the form.
Here are the default values of this string array.
public static string[] DisplayStrings = new string[]
{
"This appointment is part of a recurring series of appointments.", // 0
"Change this single appointment.", // 1
"Change this appointment and all future appointments.", // 2
"Change all appointments.", // 3
"Cancel", // 4
"Recurring Edit Confirmation" // 5
};
Initializes the default strings in recurring edit form.
Form which displays the recurring appointment information.
Initializes a new instance of the class.
Gets or sets the value for Form.
Gets or sets a value indicating whether recurring has to be overridden.
Gets or sets a value indicating whether appointment has to support seconds.
Switches the controls to RTL mode.
The control collections.
Gets or sets a value indicating whether this form will use the RTL settings from
the ScheduleControl to decide whether to mirror the form.
Gets the required creation parameters when the control handle is created.
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
Sets the local settings for specified rule.
The rule to set the local settings.
Check the week day for specified day string.
Indicates the checked status of the week day.
The day value to convert.
Value to convert.
Converts the local settings to rule string.
Rule string.
Converts the local settings to rule string.
Indicates whether conversion has to include the dates.
Rule string.
Updates the display for every change.
Used to restrict all textboxes for supporting digits only.
The source control.
The that contains the event data.
Gets the integer value from textbox.
The .
The integer value of the textbox.
Gets or sets the month tokens.
Used to perform the showing and hiding the panels.
The source control.
The that contains the event data.
Shows the panel.
Hides the panel.
Defines the constants that specify the time format of the button.
Every day.
Every week day.
Every week end.
Defines the constants that specify the day recurrence format of the button.
Every day.
Every week day.
Every week end.
Used to set the day recurrence settings.
The source control.
The that contains the event data.
Used to set the day.
The source control.
The that contains the event data.
Used to set the day button status.
The source control.
The that contains the event data.
Used to set the week.
The source control.
The that contains the event data.
Used to update the changes.
The source control.
The that contains the event data.
Defines the constants that specify the month recurrence format.
The day button.
Day of the week button.
Defines the constants that specify the positions.
First position.
Second position.
Third position.
Fourth position.
Defines the constants that specify the day in a week.
Monday of the week.
Tuesday of the week.
Wednesday of the week.
Thursday of the week.
Friday of the week.
Saturday of the week.
Sunday of the week.
Used to set the month button.
The source control.
The that contains the event data.
Used to set the day number.
The source control.
The that contains the event data.
Used to set the month number.
The source control.
The that contains the event data.
Used to set the first value of the month.
The source control.
The that contains the event data.
Used to set day value of a week.
The source control.
The that contains the event data.
Used to set the every month.
The source control.
The that contains the event data.
Used to set the month button status to day.
The source control.
The that contains the event data.
Used to set the month button status to day of week.
The source control.
The that contains the event data.
Used to set the quarter button status to day of week.
The source control.
The that contains the event data.
Used to set the number of the quarter day.
The source control.
The that contains the event data.
Used to set the quarter month number.
The source control.
The that contains the event data.
Used to set the first value of quarter.
The source control.
The that contains the event data.
Used to set the quarter day of week value.
The source control.
The that contains the event data.
Used to set the quarter month value.
The source control.
The that contains the event data.
Used to set the quarter button status to day.
The source control.
The that contains the event data.
Used to set the quarter button status to day of week.
The source control.
The that contains the event data.
Defines the constants that specify the months.
The month of January.
The month of February.
The month of March.
The month of April.
The month of May.
The month of June.
The month of July.
The month of August.
The month of September.
The month of October.
The month of November.
The month of December.
Used to set the year button status to day of week or day.
The source control.
The that contains the event data.
Used to set the day number of the year.
The source control.
The that contains the event data.
Used to set the month number.
The source control.
The that contains the event data.
Used to set the first value of the year.
The source control.
The that contains the event data.
Used to set the week value of the day in year.
The source control.
The that contains the event data.
Used to set the month value of the year.
The source control.
The that contains the event data.
Used to set the year button status to day.
The source control.
The that contains the event data.
Used to set the year button to DayOfWeek.
The source control.
The that contains the event data.
Defines the constants that specify the recurrence ranges.
No end for the recurrence.
End after the specified date.
End by the date specified.
Used to set the selection range.
The source control.
The that contains the event data.
Gets or sets the recurrence count.
Used to set the start date.
The source control.
The that contains the event data.
Used to set an end date.
The source control.
The that contains the event data.
Used to set the range selection to end after.
The source control.
The that contains the event data.
Used to set the range selection to end after.
The source control.
The that contains the event data.
Used to set the range selection to end after.
The source control.
The that contains the event data.
Used to save the changes in recurring form.
The source control.
The that contains the event data.
Used to cancel the changes in recurring form.
The source control.
The that contains the event data.
Holds various strings used in the RecurringForm.
Modifying the strings in this array will affect the display of the RecurringForm.
You can use these strings to localize the labels that appear on the form.
Please note that some of the strings used in this form represent tokens and
parseable elements which cannot be localized.
Here are the default values of this string array.
public static string[] DisplayStrings = new string[]
{
"Confirm the deletion of all occurrences?", // 0
"Delete Confirmation", // 1
"Recurrence Pattern", // 2
"Recurrence Range", // 3
"OK", // 4
"Cancel", // 5
"Delete Recurring Event", // 6
"Appointment Recurrence", // 7
"Recur every", // 8
"week(s)", // 9
"of", // 10
"month", // 11
"of the", // 12
"month(s)", // 13
"of every ", // 14
"day(s)", // 15
"Start:", // 16
"recurrences" // 17
};
Initializes the default strings in recurring edit form.
Initializes the ComboBox items in recurring edit form.
Represents a control that provides the basic scheduling functionality.
It serves as a wrapper class for a ScheduleGrid and a NavigationCalendar that work together to provide
this scheduling functionality.
To use the ScheduleControl, place it on Form or UserControl, and then set its
property to an object that implements that provides a data store
for the schedule items that you want to use in the ScheduleControl. If you do not set ScheduleControl.DataSource,
then an IScheduleDataProvider implementation based on ArrayLists will be used. See
for more information.
Initializes a new instance of the class.
Gets the associated with .
The NavigationCalendar is a derive GridControl that displays
one or more Calendars that let the user select dates to be displayed
in the ScheduleControl.
If you want to use a derived NavigationCalendar, then you can do so
by overriding CreateNavigationCalendar and returning an instance of
your derived NavigationCalendar.
Gets or sets enable seconds support for schedule appointment.
Gets the Panel, holding the caption above the Calendar. This panel may hold two navigation buttons and .
Override this method to have a derived ScheduleControl use a
derived NavigationCalendar.
A NavigationCalendar object that this ScheduleControl
will use as its Calendar object.
Overridden to switch the right to left view.
The that contains the event data.
Clean up any resources being used.
Indicates whether components has to be disposed.
Required method for Designer support - do not modify
the contents of this method with the code editor.
Adds a Control to the NavigationPanel underneath the NavigationCalendar.
The Control to be added.
Removes a Control to the NavigationPanel underneath the NavigationCalendar.
The Control to be removed.
Sets the position of the NavigationPanel.
Specifies the left or right position of the NavigationPanel,
or whether the NavigationPanel is hidden.
Gets the ScheduleGrid that holds the schedule.
A ScheduleGrid.
The is a GridControl derived class that displays the
IScheduleAppointments. The appearance and layout of this grid varies with the
.
Creates the ScheduleGrid used by this ScheduleControl.
The NavigationCalendar to be used by this ScheduleControl.
The ScheduleControl that is the parent of this ScheduleGrid.
The initial DateTime to be displayed.
ScheduleGrid used by this ScheduleControl.
Override this method if you want your ScheduleControl to use a derived ScheduleGrid.
Gets the information about the IScheduleAppointment if any under the point.
The Point to be tested.
Returns information regarding the the location of the point.
The IScheduleAppointment under the point. Returns null if no item under the point.
Resets any actively displayed schedules and
re-displays them using the passed in schedule type.
The ScheduleViewType that will be used to display
the current schedule items.
Use this method to change the current ScheduleViewType
to a new ScheduleViewType.
Adds a multiday span appointment to a dataProvider.
Holds the appointment to be added.
The DataProvider.
Multiday appointments are not simply single entries in the appointment list. This method takes the
information in an and adds it to the DataProvider as
a span appointment covering more than a single day. The process properly populates the
IRecurringScheduleAppointment.DateList collection.
Adds a multiday span appointment to a dataProvider.
Holds the appointment to be added.
The DataProvider.
The cutoff value for the start Hour of the daily appointments.
The cutoff value for the end Hour of the daily appointments. Use 0 for midnight.
Multiday appointments are not simply single entries in the appointment list. This method takes the
information in an and adds it to the DataProvider as
a span appointment covering more than a single day. The process properly populates the
IRecurringScheduleAppointment.DateList collection.
The startHour and endHour can be used to limit the daily time span for the appointment slots. For example, the
code below will limit the appointment to the PrimeTime hours as set in a ScheduleControls.Appearance object. To
have no restrictions on the time slots, pass zeros for both startHour and endHour.
ArrayListAppointment item = new ArrayListAppointment();
item.Subject = "Blue Production Run";
item.StartTime = new DateTime(2008, 11, 12, 9, 0, 0);
item.EndTime = new DateTime(2008, 11, 14, 10, 30, 0);
item.AllDay = false;
item.LabelValue = 3;
int startHour = ScheduleGrid.SpanOnlyPrimeTime ? scheduleControl1.Appearance.PrimeTimeStart : 0;
int endHour = ScheduleGrid.SpanOnlyPrimeTime ? scheduleControl1.Appearance.PrimeTimeEnd : 0;
ScheduleControl.AddSpanAppointment(item, myArrayListDataProvider, startHour, endHour);
Sets the child controls in shedule control.
Changes the currently loaded span appointments start/end time
with respect to SpanOnlyPrimeTime property at runtime.
Occurs whenever schedule appointment time is changed.
Raises the event.
An that contains the event data.
Raises the event.
The that contains the event data.
Used to handle the seconds timer.
The source control.
The that contains the event data.
A cancelable event that occurs before the Appointment form is displayed. You can swap the
the displayed form through the events arguments.
Raises the event.
The that contains the event data.
Raises the event.
The that contains the event data.
A cancelable event raised before an IScheduleAppointment is modified.
A notification event raised after an IScheduleAppointment is modified.
Raises an event.
The event arguments.
Raises an event.
The event arguments.
Occurs when the ScheduleGrid.ParseDisplayItem is called to set the display text for a ScheduleAppointment.
Raises the event.
Internal use only.
The that contains the event data.
Raises the event.
The that contains the event data.
Helper method for can query the item changing.
Returns the boolean value.
Helper method for can query the item changed.
Returns the boolean value.
Raises an event.
The that contains the event data.
Raises an event.
The that contains the event data.
Gets or sets a value indicating whether the alerts should be raised as appointment time approaches.
Setting this property to true dynamically creates the AlertWindow used by this ScheduleControl.
Setting it to false will dispose of the associated AlertWindow.
Gets or sets the maximum appointment count.
Set a minimum value for this if you use maximum value, it will decrease the performance of schedule grid.
A notification event that is raised after ShowTime is modified.
Gets the AlertForm that displays the alerts.
Gets or sets a value indicating whether the forms used with editing appointments are mirrored when
ScheduleControl.RightToLeft is set to Yes.
Default value is true.
Gets or sets a value indicating whether the view style should be changed in the Control
Default value is true.
Gets or sets a value indicating whether the EndTime dropdown in the tries to
parenthetically display the time span in minutes.
Default value is true.
Gets or sets a value indicating whether the user can change an appointment time or date with the mouse.
Default value is true.
Gets or sets a value indicating whether the appointments are displayed with rounded corners.
Default value is false.
Gets or sets a value indicating whether non-AllDay multiday appointments are displayed in the AllDay area of the Day, WorkWeek and CustomDay views.
Default value is false.
By default, if a multi-day appointment is not marked as AllDay, this appoint will not show across multiple days in WorkWeek
or CustomDay views. Instead, the appointment is shown only in the appropriate time slots during the day. Setting ShowAllSpansInAllDayPanel
to true will also show non-AllDay multiday appointments across multiple days.
Gets or sets a value indicating whether the multiday appointments are displayed across days in Month, Day, WorkWeek and CustomDay views.
Default value is true.
When this property is set to true (the default setting) and the implements ,
then an AllDay appointment that spans more than one day will display as a single panel across the multiple-day span of the appointment
for ScheduleViewTypes Day, CustomWeek, WorkWeek and Month (but not Week). When an appointment is shown as a multiday span,
the user will not be able to use the mouse to change the day span or drag it to a new location. The only way to edit such
spans is through the Edit dialog which normally appears on a double left-click or from the right-click context menu.
Gets or sets the Label Control that serves as the caption
at the top of the ScheduleControl.
Gets or sets the panel where you can place additional controls and have them appear adjacent to the ScheduleControl.
Gets or sets a value indicating whether the Calendar occupies the entire
and sizes dynamically as the ScheduleControl is sized.
Gets the location of the .
Gets or sets a value indicating whether ISO 8601 calendar format is applied or not.
Gets or sets a object that controls
the visual properties of the ScheduleControl.
Gets or sets the data source for the ScheduleControl.
Gets or sets a value indicating whether a daily, weekly or monthly schedule is displayed.
Gets or sets the culture used for the date formatting.
Defaults to the CultureInfo.InvariantCulture setting.
Gets or sets a value indicating whether the control enables the touch mode.
Occurs when the culture has been modified.
You can use this event to move Culture settings into the ScheduleControl's Appearance
object to control how the Culture settings affect the look of the ScheduleControl.
void scheduleControl1_CultureChanged(object sender, EventArgs e)
{
ScheduleControl sc = sender as ScheduleControl;
if (sc != null)
{
sc.Appearance.WeekHeaderFormat = sc.Culture.DateTimeFormat.MonthDayPattern;
}
}
Applied the culture to the ScheduleControl. This method is called by the ScheduleControl when the ScheduleControl.Culture property is set to
move the specific culture settings to the Appearance object.
The new Culture.
The Appearance object to be set.
Override this method to control how your Culture settings will affect the Appearance. The default settings
are as below
currentAppearance.WorkWeekHeaderFormat = currentCultureInfo.DateTimeFormat.ShortDatePattern;
currentAppearance.WeekHeaderFormat = currentCultureInfo.DateTimeFormat.MonthDayPattern;
currentAppearance.WeekMonthFullFormat = currentCultureInfo.DateTimeFormat.LongDatePattern;
currentAppearance.WorkWeekHeaderFormat = currentCultureInfo.DateTimeFormat.ShortDatePattern
currentAppearance.WeekHeaderFormat = currentCultureInfo.DateTimeFormat.MonthDayPattern
currentAppearance.WeekMonthFullFormat = currentCultureInfo.DateTimeFormat.LongDatePattern
Subscribe to this event to set up your own Context menu for the ScheduleControl.
This menu allows you to control the Context menu that is displayed when your user
right clicks the DayContainerPanel that hosts the items in the ScheduleControl. Your
event handler code should set the Context menu for the ScheduleGrid returned by
ScheduleControl.GetScheduleHost. After doing so, your code should set e.Cancel = true.
Otherwise, the default implementation of a Windows Forms ContextMenu will override your
settings.
Sets up the context menu associated with the ScheduleControl.
Override this method to create your own context menus.
Gets a Metro ContextMenu implementing standard set of menu items for metro theme
A ContextMenu.
If you use this default implementation of a ContextMenu, you can dynamically
cancel the execution of a menu selection by subscribing to the
ScheduleControl.ScheduleAppointmentClick event and setting e.Cancel = true when
e.ClickType is RightClick.
Gets a default ContextMenu implementing standard set of menu items.
A ContextMenu.
If you use this default implementation of a ContextMenu, you can dynamically
cancel the execution of a menu selection by subscribing to the
ScheduleControl.ScheduleAppointmentClick event and setting e.Cancel = true when
e.ClickType is RightClick.
Switches the display to the specified ScheduleViewType.
The requested ScheduleViewType.
Switches the display to the specified date with ScheduleViewType.Day.
The requested date.
Displays a dialog allowing you to delete an .
Displays a dialog allowing you to edit an .
Displays a dialog allowing you to enter a new .
Displays a Dialog allowing you to enter a new AllDay .
Gets a value indicating whether an ISchedule item has input focus (i.e., has been clicked)
You can use this property to determine whether menu items should be enabled.
Used to change the schedule view type to Day.
The source control.
The that contains the event data.
Used to change the schedule view type to WorkWeek.
The source control.
The that contains the event data.
Used to change the schedule view type to Week.
The source control.
The that contains the event data.
Used to change the schedule view type to Month.
The source control.
The that contains the event data.
Used to change the schedule view type to AllDay.
The source control.
The that contains the event data.
Occurs when you click or double click an item.
/// Raises the event.
The that contains the event data.
Used to perform the new item.
The source control.
The that contains the event data.
Used to perform the edit item.
The source control.
The that contains the event data.
Used to perform the delete item.
The source control.
The that contains the event data.
Gets or sets a value indicating whether painting should be suspended.
Occurs when you click or double click an item.
Raises the event.
The that contains the event data.
An event that lets you cancel appointment by appointment whether an appointment can be adjusted using the mouse.
Raises the event.
Raises a AdjustingAppointmentWithMouse event that lets you cancel appointment by appointment whether an appointment can be adjusted using the mouse.
The event arguments.
An event that lets you either use a derived ScheduleGridControl or to subscribe to events on the ScheduleGridControl.
As you change ScheduleViewTypes within the ScheduleControl, new ScheduleGridControls are created to reflect the
new view type, say switching form a Month view to a Day view. This event is raised after the new ScheduleGrid
is created, allowing you to either swap it out for a derived ScheduleGrid, or subscribe to events on the ScheduleGrid.
To catch the initial creation of a ScheduleGrid with this event, you should make sure you subscribe to the event
before you set the property.
Raises the event.
Raises a ScheduleGridCreated event that lets you either use a derived ScheduleGridControl or to subscribe to events on the ScheduleGridControl.
The event arguments.
Represents the control that is displayed in as Layout panel.
Initializes a new instance of the class.
Defines the constants that specify the possible display types you can see in a ScheduleControl.
Displays a single day of IScheduleAppointment objects in the ScheduleControl.
Displays a five day workweek of IScheduleAppointment objects in the ScheduleControl.
Displays a seven day week of IScheduleAppointment objects in the ScheduleControl.
Displays a month of IScheduleAppointment objects in the ScheduleControl.
Displays a variable number of days of IScheduleAppointment objects in the ScheduleControl.
Implements the renderer for metro ContextMenu customization.
Initializes a new instance of the class.
OVerridden to call the base method.
The that contains the event data.
Overridden to draw the rectangle.
It will be triggered when the margin for the image is rendered.
The that contains the event data.
Implements the office themed button.
Gets or sets the visual styles drawing.
Overridden to draw the push button.
The graphics.
State of the button.
The checked state of the button.
Overridden to draw the control text.
The graphics.
Implements the functionality of colors and fonts styles for .
Initializes a new instance of the class.
Initializes a new instance of the class.
The ScheduleControl associated with this appearance object.
Initializes a new instance of the class from a serialization stream.
An object that holds all the data needed to serialize or deserialize this instance.
Describes the source and destination of the serialized stream specified by info.
Attaches an Appearance object to a particular ScheduleControl.
The Appearance object.
A static method that creates an instance of that was
previously serialized as a binary file.
The serialized filename.
A ScheduleAppearance.
Creates an instance of that was
previously serialized as a XML file.
The serialized filename.
A ScheduleAppearance.
Saves the Appearance object in an XML file
with the specified filename.
The file name.
Saves this Appearance object in binary format to a file
with the specified filename.
File name.
Saves the Appearance object to a stream in binary format.
Stream to save the object.
Implements the ISerializable interface and returns the data needed to serialize the Appearance object.
A SerializationInfo object containing the information required to serialize the Appearance object.
A StreamingContext object containing the source and destination of the serialized stream.
Gets or sets the prime time cells in the Calendar.
A notification event that is raised after PrimeTimeCellColor is modified.
Gets or sets the prime time cells in the Calendar.
Internal only
Gets or sets the non-prime time cells in the Calendar.
A notification event that is raised after PrimeTimeCellColor is modified.
Gets or sets the non-prime time cells in the Calendar.
Internal only.
Gets or sets the backcolor of header cells in a WorkWeek view.
A notification event that is raised after WorkWeekHeaderBackColor is modified.
Gets or sets the work week header back color.
Internal only
Gets or sets the forecolor of header cells in a WorkWeek view.
A notification event that is raised after WorkWeekHeaderForeColor is modified.
Gets or sets the forecolor of header cells in a WorkWeek view.
Internal only
Gets or sets the backcolor of header cells in a Month or Week view.
A notification event that is raised after MonthWeekHeaderBackColor is modified.
Gets or sets the backcolor of header cells in a Month or Week view.
Internal only
Gets or sets the forecolor of header cells in a Month or Week view.
A notification event that is raised after MonthWeekHeaderForeColor is modified.
Gets or sets the forecolor of header cells in a Month or Week view.
Internal only
Gets or sets the backcolor of the AllDay row in the calendar.
Gets or sets the backcolor of the AllDay row in the calendar.
Determines whether TodayBackColor has been modified and its contents should be serialized at design-time.
True if contents were changed; False otherwise.
A notification event that is raised after AllDayBackColor is modified.
Gets or sets the backcolor of the AllDay row in the calendar.
Internal only
Gets or sets the border color for a clicked item.
A notification event that is raised after ClickItemBorderColor is modified.
Gets or sets the border color for a clicked item.
Internal only
Gets or sets the drag border color for a dragging item.
A notification event that is raised after DragColor is modified.
Gets or sets the drag border color for a dragging item.
Internal only
Gets or sets the backcolor of the Time column in the calendar.
A notification event that is raised after TimeBackColor is modified.
Gets or sets the backcolor of the Time column in the calendar.
Internal only
size of the font for the large text in the time col display
Gets or sets the size of the larger font used in the Time column in the calendar.
A notification event that is raised after TimeBigFontSize is modified.
Gets or sets the size of the smaller font used in the Time column in the calendar.
A notification event that is raised after LittleFontSize is modified.
Gets or sets the color of the text shown in the Time column in the calendar.
A notification event that is raised after TimeTextColor is modified.
Gets or sets the color of the text shown in the Time column in the calendar.
Internal only
Gets or sets the color of the basic text shown in the calendar.
A notification event that is raised after TextColor is modified.
Gets or sets the color of the basic text shown in the calendar.
Internal only
Gets or sets the DayOfWeek that is shown in the left-most column of the calendar.
A notification event that is raised after NavigationCalendarStartDayOfWeek is modified.
Gets or sets the BackColor of the navigation calendar.
Determines whether NavigationCalendarBackColor has been modified and its contents should be serialized at design-time.
True if contents were changed; False otherwise.
A notification event that is raised after NavigationCalendaBackColor is modified.
Gets or sets the BackColor of the navigation calendar.
Internal only
Gets or sets the color of the week numbers in the navigation calendar.
A notification event that is raised after NavigationCalendarWeekNumberColor is modified.
Gets or sets the color of the week numbers in the navigation calendar.
Internal only
Gets or sets the color of the Arrows in the navigation calendar.
A notification event that is raised after NavigationCalendarArrowColor is modified.
Gets or sets the color of the Arrows in the navigation calendar.
Internal only
Gets or sets the color of the text of Today in the navigation calendar.
A notification event that is raised after MoreItemArrowColor is modified.
which is enable after setting metro theme only.
Gets or sets the color of the MoreItem Arrow Color.
Determines whether MoreItemArrowColor has been modified and its contents should be serialized at design-time.
True if contents were changed; False otherwise.
A notification event that is raised after MoreItemArrowBorderColor is modified.
which is enable after setting metro theme only.
Gets or sets the border color of the more item bitmap.
Determines whether MoreItemArrowBorderColor has been modified and its contents should be serialized at design-time.
True if contents were changed; False otherwise.
A notification event that is raised after MoreItemArrowHoverColor is modified.
which is enable after setting metro theme only.
Gets or sets the hover color of the more items bitmap.
Determines whether MoreItemArrowHoverColor has been modified and its contents should be serialized at design-time.
True if contents were changed; False otherwise.
A notification event that is raised after NavigationCalendarTodayBackColor is modified.
Gets or sets the back color of the text of Today in the navigation calendar.
Determines whether NavigationCalendarTodayBackColor has been modified and its contents should be serialized at design-time.
True if contents were changed; False otherwise.
A notification event that is raised after NavigationCalendarTodayColor is modified.
Gets or sets the back color of the text of Today in the navigation calendar.
Internal only
Gets or sets the color of the disabled text in the navigation calendar.
A notification event that is raised after NavigationCalendarDisabledTextColor is modified.
Gets or sets the color of the disabled text in the navigation calendar.
Internal only
Gets or sets the color of the header color in the navigation calendar.
A notification event that is raised after NavigationCalendarTextColor is modified.
Gets or sets the color of the header color in the navigation calendar.
Internal only
Gets or sets the color of the header in the navigation calendar.
A notification event that is raised after NavigationCalendarHeaderColor is modified.
Gets or sets the color of the header in the navigation calendar.
Internal only
Gets or sets the color of the selection color in the navigation calendar.
A notification event that is raised after NavigationCalendarTodayTextColor is modified.
Gets or sets the color of the current date text in the navigation calendar.
Determines whether NavigationCalendarTodayTextColor has been modified and its contents should be serialized at design-time.
True if contents were changed; False otherwise.
A notification event that is raised after NavigationCalendarSelectionColor is modified.
Gets or sets the selection color in the navigation calendar.
Internal only
Gets or sets the back color of the two splitters in the ScheduleControl.
A notification event that is raised after SplitterBackColor is modified.
Gets or sets the back color of the two splitters in the ScheduleControl.
Internal only
Gets or sets the color of the caption area above the calendar.
Gets the culture used for the date formatting.
Defaults to the CultureInfo.InvariantCulture setting.
Gets or Sets a value indicating whether ISO 8601 calender format is applied or not.
A notification event that is raised after CaptionBackColor is modified.
Gets or sets the color of the caption area above the calendar.
Internal only
Gets or sets the color of the solid lines in the calendar.
A notification event that is raised after SolidBorderColor is modified.
Gets or sets the color of the solid lines in the calendar.
Internal only
Gets or sets the color of the thick solid line next to the Time Column the Day View in the calendar.
A notification event that is raised after MarkColumnColor is modified.
Gets or sets the color of the thick solid line next to the Time Column the Day View in the calendar.
Internal only
Gets or sets whether the Themes are enabled.
A notification event that is raised after ThemesEnabled is modified.
Defines the constants that specify the position of the more items Arrow Directions.
Specifies the arrow direction as Up
Specifies the arrow direction as Right
Specifies the arrow direction as Down
Specifies the arrow direction as Left
Gets or sets whether the arrow direction of the more items icon.
A notification event that is raised after Arrow direction is modified.
Gets or sets a value indicating whether the Caption Panel above the Calendar is visible.
A notification event that is raised after ShowCaption is modified.
Gets or sets a value indicating whether navigation buttons are shown on the Caption Panel.
A notification event that is raised after ShowCaptionButtons is modified.
Gets or sets the time (0 to 23 in hours) when prime time color starts being used in the display.
A notification event that is raised after PrimeTimeStart is modified.
Gets or sets the time (0 to 23 in hours) when the prime time color stops being used in the display.
A notification event that is raised after PrimeTimeEnd is modified.
Gets or sets the text that is displayed for schedule item tips.
You can use tokens defined in ScheduleGrid.DisplayItemFormatStrings
to control the determine the text displayed. The default
value is "[subject]\r\n\r\n[content]".
A notification event that is raised after ScheduleAppointmentTipFormat is modified.
Gets or sets the display format of a schedule item displayed in a Day/WorkWeek view.
Choose from these tokens.
"allday", "end", "label", "location", "marker", "owner", "reminder", "subject", "start", "no closing delimiter error", "starttime", "endtime", "startdate", "enddate"
A notification event that is raised after DayItemFormat is modified.
Gets or sets the display format of a schedule item shown in a Week/Month view.
Note:
New Line character ("\n") is not allowed and will be ignogered if entered any.
Choose from these tokens.
"allday", "end", "label", "location", "marker", "owner", "reminder", "subject", "start", "no closing delimiter error", "starttime", "endtime", "startdate", "enddate"
A notification event that is raised after DayItemFormat is modified.
Gets or sets the display format of header of a day in a Week view.
The default format is "D", the long date format.
A notification event that is raised after FullWeekHeaderFormat is modified.
Gets or sets the display format of header of a day in a WorkWeek view.
The default format is "MM/dd/yyyy".
A notification event that is raised after WorkWeekHeaderFormat is modified.
Gets or sets the date display format of header label in a WorkWeek view.
The default format is "MMM d".
A notification event that is raised after WeekHeaderFormat is modified.
Gets or sets the display format of header of a Day view.
The default format is "dddd, d MMMM yyyy", the short date format.
A notification event that is raised after LongHeaderFormat is modified.
Gets or sets the display format of an AllDay item.
Choose from these tokens.
"allday", "end", "label", "location", "marker", "owner", "reminder", "subject", "start", "no closing delimiter error", "starttime", "endtime", "startdate", "enddate"
A notification event that is raised after DayItemFormat is modified.
Gets or sets the display format of a text displayed on an interior left-side of a multiday span.
Choose from these tokens.
"allday", "end", "label", "location", "marker", "owner", "reminder", "subject", "start", "no closing delimiter error", "starttime", "endtime", "startdate", "enddate"
A notification event that is raised after SpanItemFormatLeftText is modified.
Gets or sets the display format of the text displayed at the start of a new year in the Month or Week view, and in the cell header of the Week view.
A notification event that is raised after WeekMonthFullFormat is modified.
Gets or sets the display format of the text displayed at the start of a new month in the Month view.
A notification event that is raised after WeekMonthNewMonth is modified.
Gets or sets the display format of the text displayed in the header label for the Month view.
A notification event that is raised after MonthHeaderFormat is modified.
Gets or sets the display format of a text displayed on an interior right-side of a multiday span.
Choose from these tokens.
"allday", "end", "label", "location", "marker", "owner", "reminder", "subject", "start", "no closing delimiter error", "starttime", "endtime", "startdate", "enddate"
A notification event that is raised after SpanItemFormatRighttText is modified.
Gets or sets the display format of a text displayed in the middle of a multiday span.
Choose from these tokens.
"allday", "end", "label", "location", "marker", "owner", "reminder", "subject", "start", "no closing delimiter error", "starttime", "endtime", "startdate", "enddate"
A notification event that is raised after SpanItemFormatMiddleText is modified.
Gets or sets the display format of a text displayed on an open left-side of a multiday span.
Choose from these tokens.
"allday", "end", "label", "location", "marker", "owner", "reminder", "subject", "start", "no closing delimiter error", "starttime", "endtime", "startdate", "enddate"
A notification event that is raised after SpanItemFormatTerminalLeftText is modified.
Gets or sets the display format of a text displayed on an open right-side of a multiday span.
Choose from these tokens.
"allday", "end", "label", "location", "marker", "owner", "reminder", "subject", "start", "no closing delimiter error", "starttime", "endtime", "startdate", "enddate"
A notification event that is raised after SpanItemFormatRighttText is modified.
Gets or sets the format string used when formatting any of
the tokens from DisplayItemFormatStrings that represents combined
date and time values.
A notification event that is raised after DateTimeFormat is modified.
Gets or sets the format string used when formatting any of
the tokens from DisplayItemFormatStrings that represents a
date only value.
A notification event that is raised after DateFormat is modified.
Gets or sets the format string used when formatting any of
the tokens from DisplayItemFormatStrings that represents combined
a time only value.
A notification event that is raised after TimeFormat is modified.
Gets or sets the DayOfWeek that is shown in the first day of the week calendar.
A notification event that is raised after WeekCalendarStartDayOfWeek is modified.
Gets or sets the DayOfWeek that is shown in the left-most column of the month calendar.
This property is related to . Setting MonthCalendarStartDayOfWeek
to any value other than Monday, will force MonthShowFullWeek to true. This is because when
MonthShowFullWeek is false, the MonthCalendar starts with Monday and shows a stacked
Saturday/Sunday column. Telling the ScheduleControl to start the MonthCalendar with some day other
than Monday will force the MonthCalendar to display full weeks.
A notification event that is raised after MonthCalendarStartDayOfWeek is modified.
Gets or sets whether Month view shows seven columns or six columns with Saturday/Sunday stacked."
A notification event that is raised after MonthShowFullWeek is modified.
Gets or sets whether tips should be displayed when you hoover over
an item in a schedule.
A notification event that is raised after ScheduleAppointmentTipsEnabled is modified.
Gets or sets whether time column is displayed using a 24 hour format.
A notification event that is raised after Hours24 is modified.
Get or sets the maximum number of days that can appear side by side in a Day style calendar
The default value is 9. So, if you select more than 8 dates in the navigation calendar, the dates
cannot be displayed side by side in the ScheduleControl.
A notification event that is raised after DayMonthCutoff is modified.
Gets or sets the number of time divisions per row that appear in a Day, Custom or WorkWeek view. This property is used
in conjunction with DivisionsPerHour to determine the number of grid rows that appear in an hour time slot.
The number of time divisions per row determines how many of the time divisions set by DivisionsPerHour appear in each
grid row.
So, if DivisionPerHour is 4 and DivisionsPerRow is 2, then you would see the hour split into 2 grid rows with
the rows changing at the 30 minute mark, and you could enter appointments that start at 0, 15, 30 or 45 minutes. So, the
hour is divided into 4 time slots on the 15 minute marks but you only see a grid row at the 30 minute mark.
As another example, if DivisionPerHour is 6 and DivisionsPerRow is 2, then you would see the hour split into 2 grid rows with
the rows changing at the 20 and 40 minute marks, and you could enter appointments that start at any 10 minute mark. So, the
hour is divided into 6 time slots on the 10 minute marks and you only see a grid row at the 20 minute marks.
The value of DivisionPerRow should be a factor of DivisionsPerHour. If it is not, then DivisionPerRow defaults to 1.
The default values for DivisionPerRow is 1 (to go along with the default value of 2 for the DivisionsPerHour).
A notification event that is raised after DivisionsPerRow is modified.
Gets or sets the number of time divisions per hour that appear in a Day, Custom or WorkWeek view.
The number of divisions determines the minimum time that can be used for an appointment. The default value
is 2 indicating you can have two 30-minute appointments per hour. If you want to allow three 20-minutes,
or four 15-minutes appointments per hour, then set this value to 3 or 4.
This value must be 1, 2, 3, 4, 5, 6, 10, 12, 15, 20 or 30.
A notification event that is raised after DivisionsPerHour is modified.
Gets or sets whether the Time Column should appear in the ScheduleControl.
A notification event that is raised after ShowTime is modified.
Gets or sets the VisualStyle for this ScheduleControl. The setting only applies
if is true.
A notification event that is raised after VisualStyle is modified.
Gets or sets a value indicating whether the AdvancedToolTip display while hovering over the schedule Appointments.
Gets or sets the propotional resizability option for the workweek scheduletype.
Gets or sets a value indicating whether the transparent Span appearance to schedule grid.
Gets or sets the alpha level for transparent span.
Determines whether SpanTransparencyLevel has been modified and its contents should be serialized at design-time.
True if contents were changed; False otherwise.
Gets a string representing the instance of the .
String representaion of the object.
A ScheduleGrid class illustrates the grid that holds the schedule items, possibly for multiple days.
ScheduleGrid is a GridControl derived class that serves as the container for
the schedule items being displayed. Depending upon the ScheduleViewType
being displayed, this grid may show a single day's items or multiple days'
items. It has class members to reference the navigation calendars.
Initializes a new instance of the class.
Gets or sets the touch mode.
Determines whether touch mode has to be serialized.
True if touch mode is serialized otherwise false.
Resets the touch mode to false.
Applies the scaling.
The value for scaling.
Save the touch starting position when begin the touch panning operation.
touch position when panning operation start
Perform the horizontal panning operation by moving the next view or previous view, otherwise do the vertical panning operation by calling the base method.
Current touch position
used to decide the swipe scrolling operation occurs
Returns false if view was changed with horizontal panning operation, otherwise calls the base method
Handles mouse wheel processing. When EnableTouchMode was enabled and modifier key is control, then perform zoom operation.
A that contains the event data.
Perform the zoom in or zoom out operations based on the delta value.
The value used to decide zoom operation
Initializes a new instance of the class.
The used to determine the dates displayed.
Gets the that hosts this ScheduleGrid.
The date used to set the initial display.
Used to set the horizontal and vertical alignments.
The source control.
The that contains the event data.
Used to set the date value and adjust the selected dates.
ScheduleGrid
The that contains the event data.
Used to set the date value and adjust the selected dates.
ScheduleGrid
The that contains the event data.
Sets the date value and adjust the selected dates while performing resize.
Used to Draw a triangle.
Graphics.
Rectangle.
fill color of the triangle.
border color of the triangle.
Used to set fort styles.
The source control.
The that contains the event data.
Cleans up any resources being used.
Required method for Designer support - do not modify
the contents of this method with the code editor.
Gets the span manager.
Clears the spans of all day.
Gets all the appointment scheduled dates.
Adds the all day span for specified recurring appointment.
The source rectangle.
The rectangle.
Recurring schedule appointment.
Indicates whether column is in last position.
Cell style.
Populates the transparent label for appointment.
The source rectangle.
The transparent label.
The rectangle.
Width.
Recurring schedule appointment.
The date.
Start date.
Used to set the mouse move label.
The source control.
The that contains the event data.
Used to set the mouse leave label.
The source control.
The that contains the event data.
Used to set the mouse move label.
The source control.
The that contains the event data.
Used to edit the item.
The source control.
The that contains the event data.
Used to edit the item.
The source control.
The that contains the event data.
Handles the mouse click event related to the item.
The source control.
The that contains the event data.
as the user hovers the mouse over an item.
The source control.
The that contains the event data.
Used to find user releases the mouse click.
The source control.
The that contains the event data.
Handles the mouse hover event to detect when the user hovers over a control.
The source control.
The that contains the event data.
Gets the mouse position relative to the current form.
The source control.
The that contains the event data.
Overridden to make sure no horizontal scrollbar is seen after sizing...
Overridden to center text at the top of the grid.
The that contains the event data.
Converts the current month and date
Date to be parsed
If the row index and column index of the cell is 1
True if the row index and column index is 1, otherwise, False
Overridden to support displaying appointments with rounded corners
The that contains the event data.
Gets the forecolor of Appointment item.
Item Forecolor
Holds the cell style
Returns the fore color of appointment
Used to change the default behavior of the OnPrepareViewStyleInfo event
The that contains the event data.
Gets a date formatted as a MMMM d, yyyy that is displayed in a Month view.
The given date.
The string that provides the format.
The formatted string.
Overridden to support the appointment being displayed with rounded corners.
The that contains the event data.
Triggers the various event of schedule grid.
View type of the schedule.
Draws the rounded background.
The graphics of the cell.
The Rectangle of the cell.
Radius for rounded button.
Color of the rounded button.
Draws the rounded background.
The graphics of the cell.
The Rectangle of the cell.
Radius for rounded button.
Color of the rounded button.
Pen for the rounded button.
Draws rounded rectangle specified by a co-ordinate pair, width, height and radius.
X co-ordinate.
Y co-ordinate.
Width of the rectangle.
Height of the rectangle.
Radius of the rounded corners.
The GraphicsPath object for the rounded rectangle.
A method to commit changes while closing parent control.
Parent Form
A with event data.
Wires the events of the appearance.
The schedule to wire events.
Unwire the events of the appearance.
The schedule to unwire events.
Unwire the events of the schedule view type.
The schedule view type to wire events.
Initializes the through its GridControl properties and events.
This methods initializes to various GridControl properties, cell types and mouse controllers to
support the functionality in ScheduleGrid.
Used to set brush info.
The source control.
The that contains the event data.
Used to force data to be regenerated.
The source control.
The that contains the event data.
Used to force data to be regenerated.
The source control.
The that contains the event data.
Used to force data to be regenerated.
The source control.
The that contains the event data.
Used to force data to be regenerated.
The source control.
The that contains the event data.
Used to force data to be regenerated.
The source control.
The that contains the event data.
Used to force data to be regenerated.
The source control.
The that contains the event data.
Used to apply the visual styles.
The source control.
The that contains the event data.
Used to force data to be regenerated.
The source control.
The that contains the event data.
Used to force data to be regenerated.
The source control.
The that contains the event data.
Used to force data to be regenerated.
The source control.
The that contains the event data.
Used to force data to be regenerated.
The source control.
The that contains the event data.
Used to force data to be regenerated.
The source control.
The that contains the event data.
Used to set the drag color.
The source control.
The that contains the event data.
Used to set the splitter backcolor.
The source control.
The that contains the event data.
Used to backcolor of off time cells.
The source control.
The that contains the event data.
Used to backcolor of prime time cells.
The source control.
The that contains the event data.
Used to visibility of the next and previous buttons.
The source control.
The that contains the event data.
Used to set the themes enabled of the next and previous buttons.
The source control.
The that contains the event data.
Used to visibility of the Caption panel.
The source control.
The that contains the event data.
Used to set the backcolor of the schedule grid and navigation calendar.
The source control.
The that contains the event data.
Used to set the backcolor of the all day schedule grid.
The source control.
The that contains the event data.
Used to set the solid border of the schedule grid.
The source control.
The that contains the event data.
Applies the border for the schedule grid.
Used to set the backcolor of the caption panel and panel spacer.
The source control.
The that contains the event data.
Used to reset the time.
The source control.
The that contains the event data.
Used to set the backcolor of the time column of the schedule grid.
The source control.
The that contains the event data.
Sets the base styles from specified row.
the starting row.
Used to set the base style for each row in schedule grid.
The source control.
The that contains the event data.
Used to set the text color of the schedule grid.
The source control.
The that contains the event data.
Used to set the minutes per hour.
The source control.
The that contains the event data.
Used to switch the schedule to Month view.
The source control.
The that contains the event data.
Gets the start day of the week in week calendar.
Gets the start day of the week in month calendar.
Gets the last day of the week in month calendar.
Sets the maximum appointment for ScheduleControl.
Used to set 'how many appointment will be shown in schedule'. set minimum value for this if you use maximum value, it will decrease the performance of schedule grid.
Sets the schedule grid.
Gets the table from column index.
Column index.
An index of the table.
Determines whether specified column is marker column.
Column index to check.
True if it is marker column otherwise false.
Gets the first column in panel for specified column.
Column index to check.
Column index.
Gets the last column in panel for specified column.
Column index to check.
Column index.
Applies the visual styles.
Gets or sets the visual theme.
Gets the bitmap drawn when day on a Week or Month ScheduleViewType has more items
than can be displayed in the grid cell for that day.
Gets the bitmap drawn.
Name of the bitmap.
The bitmap drawn.
Maps a GridRangeInfo to an IScheduleAppointment through GetLookupKey
Gets the lookup key that maps GridRangeInfo to an IScheduleAppointment.
the top-most row of the GridRangeInfo.
the left-most column of the GridrangeInfo.
A value unique to the passed in parameters.
Used to track occupied cells and conflicts. The
triples are(dayPanel, gridrow, confictCount).
Tracks the known conflicts per dayPanel. ie; knownConflicts[i] is
the largest number of conflicts for any timeslot in the ith dayPanel.
A hole is a range to the right of a long IScheduleAppointment with conflicts
which is not occupied by one of the conflicting IScheduleAppointments. Such
wholes are treated as a coveredrange in the grid.
A list of lists of AllDay items. ie., allDayItems[i] is an arraylist holding
all the AllDay items for the ith dayPanel.
Synchronizes the grid with all day and span list.
Implements the algorithm that sets up the covered cells in the grid
to represent the times associated with each IScheduleAppointment. It handles
conflict allocations as well.
Computes GridRangeInfo's in a conflicted time-span that does not have
any appointments displayed in them. ie-holes in the dayPanel next to
occupied cells.
Used only for debug purposes to display the use table.
Gets IScheduleAppointments from the IDateProvider based on the parameters passed in through
the constructor and uses these IScheduleAppointments to populate
this ScheduleGrid with day panels.
Sets the data to day panels.
Indicates whether data should be reset.
Occurs when the GridControl that displays the multiple day panels
has completed its formatting and has been populated.
This event is an notification event that this GridControl
has been fully initialized. At this point, you can modify any of
the GridControl's standard properties, and your change will take precedence
over the existing settings.
Raises the event.
The that contains the event data.
Allows you to set the default properties on a new schedule items.
Sets initial default values on a schedule item and raises the event
to allow listeners the option of setting default values.
The holding the proposed current value of the schedule item.
Array on cell grids that hold the all day appointments at top of a ScheduleGrid
The date that determines the date range displayed in the ScheduleGrid.
The determining dates of the day panels that are in this ScheduleGrid.
The active day panel
number of day panels in this ScheduleGrid
Color used to mark selections in an individual day panel.
Width of the time column on the left side of the ScheduleGrid
width of the top-most cell border of an occupied range in a day panel.
Height of row0 (row 0)
default height of the rows inside the embedded all day grids.
height of the cell that holds the embedded all day grids.
row holding the all day grids
the caption row
caches the brushinfo used to draw the caption row gradient
width of the occupied marker column
col index of the marker column
col index of the time col
BorderStyle.None border - used in marker column
a solid border - used in time column
holds text used in the Schedule.HeaderLabel
Gets or sets the column header date.
internal flag indicates whether the space required for displaying the large and small text in the time col needs to be reset.
size of the large text in the time col display
size of the small text in the time col display
holds the currently loaded IScheduleAppointment objects
Gets or sets the schedule appointment data collection.
holds the covered cells used in marking schedule items in the day panels.
The NavigationCalendar used to determine the dates displayed in this ScheduleGrid.
Gets the NavigationCalendar used to determine the dates displayed.
The ScheduleControl that hosts this ScheduleGrid.
Gets the ScheduleControl that hosts this .
Gets or sets the IScheduleDataProvider data source for this ScheduleControl.
Gets the IScheduleAppointment selected appointments collections.
Gets or sets the whether a daily, weekly or monthly schedule is displayed.
Determines column widths dynamically.
Source of the event.
The that contains the event data.
Determines the row heights dynamically.
the source control.
The that contains the event data.
Determines the row heights dynamically.
the source control.
The that contains the event data.
Provides cell look and values dynamically.
The source control.
The that contains the event data.
Fixes the test rectangle size.
The source control.
The that contains the event data.
Draws the cell text in the all day cell at the top of the schedule
The source control.
The that contains the event data.
Draws the wrapped text in the week and month display.
The source control.
The that contains the event data.
Used to handle redraw column ranges.
The source control.
The that contains the event data.
Used to add the covered ranges.
The source control.
The that contains the event data.
Used to do final decoration of the cell
The source control.
The that contains the event data.
Used to cancel the cell editing.
The source control.
The that contains the event data.
Used to handle saving changes.
The source control.
The that contains the event data.
A method to control the hit testing for sizing schedule items in Day and WorkWeek view.
Schedule Grid.
A with event data.
Used to turn off sizing in all grids other than Day, Custom and WorkWeek.
The source control.
The that contains the event data.
Used to turn off sizing in all grids other than Day, Custom and WorkWeek
The source control.
The that contains the event data.
Used to turn off sizing in all grids other than Day, Custom and WorkWeek
The source control.
The that contains the event data.
Used to force selections to be whole panels in Day and WorkWeek.
when selecting empty cells
The source control.
The that contains the event data.
Sets the date ranges.
Date ranges.
Sets the dates to be displayed in the ScheduleGrid.
The base date that determines other dates depending
upon .
The dates to be displayed.
Adjusts the start date.
Starting date.
Index of the panel.
Gets all day item for specified location.
The location of the day.
The item hit test type.
The schedule appointment.
Gets schedule item for specified location.
The location of the day.
The item hit test type.
The schedule appointment.
Gets the Week panel for specified row and column index.
Row index.
Column index.
Index of the week panel.
Gets the Month panel for specified row and column index.
Row index.
Column index.
Index of the month panel.
Strings that are used to define the text that is displayed in the ScheduleControl.
You can control the information that is displayed within a cell within
a schedule control by setting properties like: AllDayItemFormat, WeekMonthItemFormat
and DayItemFormat. DisplayItemFormatStrings holds the token codes that you can use
to represent the format string. Here is a list of the supported tokens and what they
represent froma an IScheduleAppointment:
[end] IScheduleAppointment.EndTime (both date and time)
[label] IScheduleAppointment.LabelValue
[location] IScheduleAppointment.LocationValue
[marker] IScheduleAppointment.MarkerValue
[owner] IScheduleAppointment.Owner
[reminder] IScheduleAppointment.Reminder
[subject] IScheduleAppointment.Subject
[start] IScheduleAppointment.StartTime (both date and time)
[allday] IScheduleAppointment.AllDay (true or false)
[starttime] IScheduleAppointment.StartTime (time only)
[endtime] IScheduleAppointment.EndTime (time only)
[startdate] IScheduleAppointment.StartTime (date only)
[enddate] IScheduleAppointment.EndTime (date only)
[content] IScheduleAppointment.Content
To include a [ or a ] within your formatted string, use [[ and ]] to represent the single bracket.
Here is some sample code.
//display only subject in weekly view
scheduleControl1.WeekMonthItemFormat = "[subject]";
//display only subject and time in weekly view
scheduleControl1.WeekMonthItemFormat = "[subject] [starttime]";
//display time Re:subject in weekly view
scheduleControl1.WeekMonthItemFormat = "[starttime] Re:[subject]";
'display only subject in weekly view
scheduleControl1.WeekMonthItemFormat = "[subject]"
'display only subject and time in weekly view
scheduleControl1.WeekMonthItemFormat = "[subject] [starttime]"
'display time Re:subject in weekly view
scheduleControl1.WeekMonthItemFormat = "[starttime] Re:[subject]"
Gets a string containing information on the IScheduleAppointment.
The IScheduleAppointment.
The format string containing tokens from .
A formatted string.
Here is a code snippet that returns a string holding the start time and
subject of someItem separated by a comma.
//Get a string holding the start time and subject
string s = scheduleControl1.GetScheduleHost().ParseDisplayItem(someItem, "[starttime],[subject]");
'Get a string holding the start time and subject
Dim s as string = ScheduleControl1.GetScheduleHost().ParseDisplayItem(someItem, "[starttime],[subject]")
Converts the token to string.
An appointment item.
Token string to convert.
The string value.
Gets the format of the Day item.
Gets the format of the Week/Month item.
Gets the format of the AllDay item.
Gets the format string used when formatting any of
the tokens from DisplayItemFormatStrings that represents combined
date and time values.
Gets the format string used when formatting any of
the tokens from DisplayItemFormatStrings that represents a
date only value.
Gets the format string used when formatting any of
the tokens from DisplayItemFormatStrings that represents combined
a time only value.
Gets the time string to be displayed in the time column.
Grid row index, normally 2 through 50.
The string to be displayed.
Characters after | will be displayed in small text.
Converts the row index to 24hr time format.
Row index to convert.
24hr time format.
Converts the Date to corresponding row index.
The date to convert.
Row index.
Gets the clicked date time.
The clicked position.
The date value.
Gets the date time value for specified row index and column index.
Row index of the cell.
Column index of the cell.
The date value.
Used to handle cell double click.
The source control.
The that contains the event data.
Gets the display date while clicking.
The date value.
Gets the display date for specified position.
The location.
The date value.
Processes the click for editing.
Row index of the cell.
Column index of the cell.
Creates a schedule item
Row index of the cell.
Time interval.
Schedule item.
Displays a dialog to determine the specific action desired by
the user when a recurring appointment is edited.
A value.
Gets or sets the minimum row height in a Day, WorkWeek or Custom view.
Gets or sets a value indicating whether appointments that span multiple days should
only appear during prime time.
Sets the expected dates when the SpanOnlyPrimeTime is changed at runtime.
IRecurringScheduleAppointment item.
Span Only Prime Time.
True if there was any change in the item start or end time. False otherwise.
Changes the currently loaded span appointments start/end time
with respect to SpanOnlyPrimeTime property at runtime.
Raises the event.
The that contains the event data.
Displays a form that allows the user to edit an appointment.
The appointment to be edited.
True if the item being edited already existed.
An integer that provides the 0-based index of the day if
the ScheduleViewType is a Day, WorkWeek or Custom. If the view type is some other value,
panel is ignored.
Overridden to set the date value in navigation calendar.
Implements the Tooltip in advanced mode for the .
Initializes a new instance of the class.
Calculates the display of text position inside the category rectangle.
Entire subject Text.
Returns the displayable first line text.
Returns the displayable second line text.
Gets or sets the schedule appointment.
Gets or sets the category color.
Gets or Sets the ShowTimeColor.
Gets or sets the location of the Tooltip.
Gets or sets the border color.
Customizes the AdvancedToolTip size.
Event source.
The that contains the event data.
OnDraw to handle the drawing of metro tooltip.
Event source.
The that contains the event data.
Gets or sets the arrow Head direction while showing the ToolTip.
Defines the constants that specify the ArrowHeadDirection of the ToolTip.
Specifies the arrow head direction as left
Specifies the arrow head direction as Right
Specifies the arrow head direction as Top
Specifies the arrow head direction as Bottom
Provides data for the event.
Initializes a new instance of the class.
Display Text of subject Rectangle.
Backcolor of Subject Rectangle.
Backcolor of Category Rectangle.
>BorderColor of ToolTip Rectangle.
Gets or sets the DisplayText of the Subject of ToolTip.
Gets or sets the category backcolor.
Gets or sets the ShowTime Rectangle backcolor.
Gets or sets the BorderColor of ToolTip border color.
Gets the appointment of the item.
Represents the method that will handle the event.
Represents the root of type hierarchy.
The that contains the event data.
Occurs when advanced tool tip is shown.
Raises the event.
The that contains the event data.
This method is responsible for raising the ShowingAdvancedToolTipEvent.
Scheduled appointment item which was hovered.
Object of the AdvacedToolTip
Returns the subject display of the item.
Overridden to disable the the display of ToolTip
as the user leaves mouse pointer out of an IScheduleAppointment.
The event arguments.
Overridden to manage tooltip that displays IScheduleAppointment information
as the user hovers the mouse over an item.
The event arguments.
Occurs when you click/double click an item.
Raises the event.
The that contains the event data.
Overridden to show drop cursor while moving an appointment in a Month or Week
display.
The that contains the event data.
Sets the temporary drag item.
A method that switches the display to the requested ScheduleViewType.
The ScheduleViewType.
Whether or not the display should be reset if the current ScheduleViewType is the same as the requested ScheduleViewType.
A method to delete an existing appointment.
Used to add schedule items.
The source control.
The that contains the event data.
Gets a value indicating whether item is selected.
Gets the days in specified month.s
The date value.
The number of days.
Maximum number of days displayable as a ScheduleViewType.CustomWeek display.
If you select more days than this limit, the latter selections
will be ignored.
Gets the selected dates count.
The selected dates count.
Gets the start date.
The start date.
Used internally. Gets or sets the number of bytes used for a single character.
Sets the days of week.
Initializes the labels from that appear in headers of the ScheduleGrid.
Call this method after you make any modifications to to make the
ScheduleGrid use the modified DisplayStrings.
Holds various strings used in the ScheduleGrid control.
You can change the strings used on the ScheduleGrid by changing the values
in this string array.
Here are the default values of this string array.
public static string[] DisplayStrings = new string[]
{
"no closing delimiter error", // 0
"(none)", // 1
"Week starting ", // 2
"Starting ", // 3
" Double Click to Add All Day Event", // 4
"To ", //5
"From ", //6
"Remove this appointment?", //7
"Remove Appointment", //8
"&New Item", //9
"New &All Day item", //10
"&Edit Item", //11
"De&lete Item", //12
"&Day", //13
"&Work Week", //14
"Wee&k", //15
"&Month" //16
"Click to switch to Day view" //17
};
Used to change the selected dates.
The source control.
The that contains the event data.
Adjusts the selections.
Sets the current cell location while switching the view.
Current selected date.
Used to move the previous view.
The source control.
The that contains the event data.
Used to move the next view.
The source control.
The that contains the event data.
Moves the direction.
Indicates whether move forward.
Defines the constants that specify where the mouse is during a appointment drag in a Week or Month view.
No mouse hit.
Mouse is over the ScheduleControl.
Mouse is over the calendar.
Represents the method that will handle the event.
The source control.
The that contains the event data.
Provides data about the event.
Initializes a new instance of the class.
Initialize a new object with ScheduleAppointment item and the display format string.
ScheduleAppointment item.
Format string.
Gets or sets the format string to be applied to the display message.
Gets or sets the formatted display text for the ScheduleAppointment item.
Gets the ScheduleAppointment item.
Creates a transparent label that is used to display the schedule appointments.
Initializes a new instance of the class.
Recurring appointment item.
Initializes a new instance of the class.
Schedule grid.
Recurring appointment.
Gets or sets the screen slot.
Gets or sets the Recurring Appointment item.
Gets the Schedule Grid.
Gets or sets the text displayed on open right-side of the label.
Gets or sets the text displayed on open left-side of the label.
Gets or sets the text displayed on interior right-side of the label.
Gets or sets the text displayed on interior left-side of the label.
Gets or sets the color used to draw the label background.
Gets or sets the color used to draw the label background.
Gets a value indicating whether the label should have rounded corners.
Gets or sets the ScheduleControl.
Gets the backcolor of the schedule grid.
Row index of a cell.
Column index of a cell.
Backcolor of grid.
Overridden to draw the rectangles and customization.
The that contains the event data.
Determines the left and right positions of the bitmap and text.
Left of the bitmap value.
Left of the text.
Text value.
Right of the text.
Right of the bitmap.
The position.
Width of the text and bitmap.
Overridden to draw the rectangle.
The that contains the event data.
Creates the arrow marker.
Indicates whether bitmap has to be drawn on left.
Text to be drawn.
The bitmap image to draw.
Overridden to show the advanced tooltip.
The that contains the event data.
Implements the functionality of span layout for ScheduleControl.Only for internal use.
Spans the layout.Only for internal use.
Schedule control.
Clears the layout. Only for internal use.
Gets the mark slot range.
The start date value.
The end date value.
The position.
Gets the mark slot.
The date value.
The position.
Gets the free slot.
Position of free slot.
Gets the bottom slot for specified date.
The date value.
The bottom value.
Represents the method that will handle the event.
The source control.
The that contains the event data.
Provides data for the event.
A ScheduleAppointmentClickEventArgs class holds references
to the IScheduleAppointment that was clicked as as other information such as whether it was a single
click or double click.Used by the event.
Initializes a new instance of the class.
Initializes a new instance of the class.
The ScheduleAppointmentClickType that describes the click.
The IScheduleAppointment that was clicked. May be null.
The active ScheduleViewType.
The calendar time slot of the click.
Gets or sets the Calendar Type.
Gets or sets the type of item click.
Gets or sets the Schedule item under the click point.
Gets or sets the time slot that was clicked.
Represents the method that will handle the event.
The source control.
The that contains the event data.
Provides data for the event.
Initializes a new instance of the class.
The appointment item to be adjusted.
Gets the Schedule appointment item to be adjusted.
Represents the method that will handle the event.
The source control.
The that contains the event data.
Provides data for the event.
An event that lets you replace the default ScheduleGrid with a derived grid, or subscribe to events
on the ScheduleGrid.
If you need to use a derived ScheduleGrid for any reason, set
to be an instance of your derived ScheduleGrid and set = true.
If you want to subscribe to events on a ScheduleGrid, create an instance of ScheduleGrid,
subscribe to the events, set to the instance, and set = true.
Here is a sample event handler that subscribes to the CurrentCellKeyDown on the ScheduleGrid.
void scheduleControl1_ScheduleGridCreated(object sender, ScheduleGridCreatedEventArgs e)
{
//subscribe to an event
ScheduleGrid grid = new ScheduleGrid(e.Calendar, e.Schedule, e.InitialDate);
grid.CurrentCellKeyDown += new KeyEventHandler(grid_CurrentCellKeyDown);
e.Grid = grid;
e.Handled = true;
}
Here is a sample event handler that creates an instance of a derived ScheduleGrid.
void scheduleControl1_ScheduleGridCreated(object sender, ScheduleGridCreatedEventArgs e)
{
//create a derived ScheduleGrid
e.Grid = new MyScheduleGrid(e.Calendar, e.Schedule, e.InitialDate);
e.Handled = true;
}
Initializes a new instance of the class.
The navigation calendar used to create the ScheduleGrid.
The ScheduleControl that is the parent of the ScheduleGrid being created.
The date used to create the ScheduleGrid.
Gets the date used to create the ScheduleGrid.
Gets or sets the ScheduleGrid being used by the ScheduleControl.
Make sure you set = true if you supply a
ScheduleGrid object by setting this member.
Gets the navigation calendar used by the ScheduleGrid being created.
Gets the ScheduleControl being used by the ScheduleGrid being created.
Gets or sets a value indicating whether a ScheduleGrid is being returned in .
Use this variable to indicate that your event handler has created a ScheduleGrid object and
assigned it to so it can be
used in your ScheduleControl. This allows you to use derived ScheduleGrid objects,
and also create a schedule grid object and subscribe to events on it.
Defines the constants that specify the possible types of clicks on a calendar.
A right click.
A left click.
A right double click.
A left double click.
Represents the method that will handle the event.
The source control.
The that contains the event data.
Provides data for the event.
A ScheduleContextMenuClickArgs class holds references
to the menu item that was clicked as as other information such as whether it was a single
click.Used by the event.
Initializes a new instance of the class.
Initializes a new instance of the class.
The .
Gets or sets the menu item under the click point.
Defines the constants that specify the modes of the row and column resizing behavior.
No resizing.
Resize row.
Resize column.
Implements the mouse interactions handlers for .
Gets the navigation cell window.
Gets the header window.
Gets the drag window.
Gets the old bounds of the window.
Gets a value indicating whether control has the focus.
True if the control should be focused.
Initializes a new instance of the class and attaches it to a grid.
The grid control.
Determines whether resizing cells behavior has column option.
The
True if resizing behavior is column otherwise false.
Determines whether resizing cells behavior has row option.
The .
True if resizing behavior is row otherwise false.
Gets a value indicating whether rows can be resized.
Gets a value indicating whether columns can be resized.
Performs the left mouse down action.
The clicking location.
The that contains the event data.
The hit test value.
Row index of the cell.
Column index of the cell.
Performs the left mouse move action.
The mouse moving position.
The that contains the event data.
Performs the left mouse up action.
The mouse up position.
The that contains the event data.
Performs the left mouse double click action.
The clicking location.
The that contains the event data.
The hit test value.
Row index of the cell.
Column index of the cell.
Draws the calendar cell invert rectangle.
The .
Draws the header invert rectangle.
Indicates whether header range should be ignored.
Draws the invert rectangle.
The rectangle to invert.
Indicates whether set or reset.
Draws the marker rectangle.
The rectangle to marker.
Indicates whether set or reset.
Starts the resizing action of ScheduleControl.
Row index of the cell.
Column index of the cell.
Cell's resizing mode.
Resizing starting position.
True if resizing is started otherwise false.
Moves the marker.
The size of the marker.
The location of the marker.
Cancels the resizing.
Ends the resizing action.
The size of the control.
Resizing location.
Updates the row heights of the grid.
Row index from begin update.
Row index to end update
Saved row heights.
Updates the column widths of the grid.
Column index from begin update.
Column index to end update
Saved row heights.
Implements the resizing cells hit test information.
Initializes a new instance of the class and attaches it to a grid.
The
The grid to test the hit.
The location of the hit test.
The .
Gets the name of the hit test.
Gets the cursor on hit test.
Overridden to do nothing.
Overridden to do nothing.
Overridden to do nothing.
OVerriden to raise the left mouse down and double click.
Overridden to raise the left mouse move.
Overridden to raise the left mouse up.
Overridden to cancel the resizing.
Determines whether schedule item is spanned at specified position.
The location.
True if there is an item at the given point.
Returns a value indicating the context at the given mouse position.
The that contains the event data.
The .
A value indicating the context at the given mouse position.
Time interval in milliseconds of the between scrolls during a ScheduleAppointment
drag when the item is at a visible border.
Initiates the auto scrolling.
Disposes the auto scroll timer.
Used to set scrolling based on the timer tick.
The source control.
The that contains the event data.
Determines whether scrolling is needed on specified position.
The position to check.
Determines whether columns can be resized for the specified position.
The range of columns.
A value of column width.
The .
The position to check.
True if column can be resized otherwise false.
Determines whether rows can be resized for the specified position.
The range of rows.
A value of row height.
The .
The position to check.
True if row can be resized otherwise false.
Implements the window for performing row or column resizing.
Initializes a new instance of the class.
Gets the required creation parameters when the control handle is created.
Overridden to draw the rectangle.
The that contains the event data.
Shows the windows with specified bounds and border.
The to set the size.
The border of the window.
Hides the window.
Gets or sets the border.
The Syncfusion namespace contains classes that defines the value and reference data types, events and event handlers, interfaces, attributes and processing the exceptions.
This class holds the name of the Syncfusion.Grid.Windows assembly and provides a helper
routine that helps with resolving types when loading a serialization stream and when
the framework probes for assemblies by reflection.
The full name of this assembly without version information: "Syncfusion.Grid.Windows"
A reference to the for the Grid assembly.
The root namespace of this assembly. Used internally for locating resources within the assembly.
This delegate helps with resolving types and can be used as a eventhandler
for a event.
The source of the event.
The event data with information about the type.
A reference to the assembly where the type is located.
Use this handler when reading back types from a serialization stread
saved with an earlier version of this assembly.