MindFusion.Scheduling for Silverlight Programmer's Guide
Version History

The list below describes recent changes and additions to MindFusion.Scheduling for Silverlight:

New in Version 3.3.1

Licensing

There is no separate trial build of the control assemblies anymore. Instead, set the LicenseKey property of the individual components to disable the component's evaluation mode and stop displaying trial messages. If your application contains more than one control by MindFusion, you could call MindFusion.Licensing.LicenseManager.AddLicense(key) to specify the key once instead of setting it per each control. License key strings are listed on the Keys & Downloads page at MindFusion's customer portal.

New in Version 3.3

Visual Studio 2013 support

MindFusion.Scheduling for Silverlight now includes support for Visual Studio 2013. The installer can create VS2013 toolbox palette for the component, and can optionally install VS2013 sample projects.

Improved data grid

The cells and headers in the data grid can now be customized through a set of new properties: CellBorderBrush, CellBorderThickness, HeaderBackground, HeaderBorderBrush, HeaderBorderThickness, HeaderFontSize, HeaderForeground, and HeaderMargin. The new ColumnCreating event can be used to replace a grid column with a custom one.

New Holiday Providers

Five new holiday providers have been added to the MindFusion.HolidayProviders.dll assembly, namely AustraliaHolidayProviderFranceHolidayProvider, GermanyHolidayProvider, RussiaHolidayProvider, and UKHolidayProvider.

Improved Timetable view

The WorkTimeStartHour and WorkTimeEndHour properties have been renamed to WorkTimeStart and WorkTimeEnd respectively and are now of type TimeSpan to allow more flexible work time intervals. In addition, the new WorkTimeStarts and WorkTimeEnds properties can be used to specify different work time intervals for the different days in the view. The new ColumnHeaderTemplate property can be used to customize the column headers by using a DataTemplate object.

Improved WeekRange view

The Week Range view can now display week numbers, similarly to the Single Month view. The week numbers can be enabled through the WeekHeaderPosition property and can be customized through the RotateWeekHeaderTexts, WeekHeaderFormat, WeekHeaderStyle, and WeekNumbersHeaderWidth properties.

Improved Resource view

The row headers can be customized through the new RowHeaderTemplate property.

Miscellaneous

New in Version 3.2.1

Visual Studio 2012 support

MindFusion.Scheduling for Silverlight now includes support for Visual Studio 2012. The installer can create VS2012 toolbox palette for the component, and can optionally install VS2012 sample projects.

Improved item presenter

The ItemPresenter class now provides the start and end time of the represented item fragment through the new StartTime and EndTime properties. In addition, derived classes can override the new OnStartTimeChanged, OnEndTimeChanged, and OnItemPropertyChanged methods to get notified when the StartTime or EndTime properties change or when any property of the underlying item changes.

Improved recurrence

The Recurrence class now exposes a new event - ValidateOccurrence, which can be used to validate and customize the occurrences of a recurrence pattern.

New in Version 3.2

Optimizations

The Calendar control now supports virtualization and is able to handle hundreds of items. The virtualization is always enabled. When using custom item or cell presenters, you need to pay special attention to the fact that those presenters can be subsequently reused by the virtualization engine for other items or cells. When a CellPresenter is reused, its StartTime and EndTime properties are updated to reflect the start and end time of the new cell. This causes the OnStartTimeChanged and OnEndTimeChanged methods to be invoked. When an ItemPresenter is reused its Item property is updated and its OnItemChanged method is invoked.

Delayed Scrolling

Delayed scrolling can now be enabled through the new DelayScroll property. When scrolling is delayed calendar views do not update immediately during scrollbar interactions. Instead the control displays a small tooltip with information about the new scroll position. The contents of the tooltip can be a date or an index, depending on the specific view and the scrollbar being modified. When the scrollbar interaction is complete, the view updates to reflect the new scroll position.

Miscellaneous

New in Version 3.1a

Gantt Charts

A completely new assembly has been added to MindFusion.Scheduling for Silverlight - MindFusion.DataViews.Silverlight. The assembly contains two new controls - ActivityChart and ResourceChart. The Activity Chart and Resource Chart sections in this documentation discuss those controls in more details.

MindFusion.Scheduling for WinPhone

MindFusion.Scheduling is now also available for WinPhone. The APIs for Silverlight and WinPhone are nearly identical with few exceptions explicitly marked in the documentation, most notably the absence of the Resource View in the WinPhone version.

New in Version 3.1

Exporting

New exporter has been added - ExcelExporter, which enables exporting calendars to the Open Office XML format.

Miscellaneous

Many Calendar properties have been changed to dependency properties. These include Schedule, Date, EndDate, and more.

New in Version 2.3.1

The performance of all views has been substantially improved.

 New in Version 2.3

Resource View Improvements

Holiday Providers

The implementations of the new IHolidayProvider interface can now be used to supply culture-specific lists of holidays. The USHolidayProvider can be used to supply the major holidays in United States for a specific time interval.

Miscellaneous

 New in Version 2.2.2

Miscellaneous

 New in Version 2.2.1

Customizable Resource Headers

Resource headers in the Resource view can now be customized through templates by using the new ResourceHeader class.

Miscellaneous

 New in Version 2.2

Undo/Redo support

If the UndoEnabled property is set to true, MindFusion.Scheduling for Silverlight tracks changes done on the schedule and allows undoing and redoing them later by calling the Undo and Redo methods of the Schedule class respectively. Multiple changes could be recorded as a single undoable operation by enclosing them between StartCompositeOperation and CommitCompositeOperation calls. It is also possible to create custom undoable operations by deriving from the Command class and calling ExecuteCommand with the custom command as argument.

 New in Version 2.1.1

Visual Studio 2010 Support

New assemblies targeting the 4.0 .NET Framework are now available. Additionally all samples provide versions for Visual Studio 2010.

Miscellaneous

 New in Version 2.1

Customizable Cell Templates

The cells in the various views can now be customized through CellPresenter class. For an example on how to do this take a look at the two new samples - CustomResourceCells and Holidays.

Miscellaneous

 New in Version 2.0

Resource View

The Resource view is now available in MindFusion.Scheduling for Silverlight. This view displays the distribution of items over a period of time for particular contacts, locations, tasks or resources. The view can be activated by setting the CurrentView property of the Calendar class to ResourceView. For more information about the view, check Resource View. For additional information on how to set up the view, refer to the ResourceViewSettings class. Many new samples illustrating how to use the resource view in different scenarios have been added.

Customizable Item Templates

The appointments in the calendar are reimplemented through ItemPresenter class. For additional information on how to do this, check Customizing the Appearance of Items. Also take a look at the new tutorial Tutorial 5: Custom Item Templates and the new sample - CustomItemTemplates.

Miscellaneous