Monday, March 12, 2012
by
XAML Team
|
Comment 1
Programming with the new GanttView control
As many of you already know with Q1 2012 we introduced a RadGanttView for Silverlight and WPF - a control designed with MVVM-friendly API.
In this blog post we will set-up a sample project with RadGanttView to get you started.
First, to add RadGanttView to a new or existing application we need to add references to the following assemblies:
Telerik.Windows.Controls
Telerik.Windows.Controls.GanttView
Telerik.Windows.Scheduling.Core
Now, let’s add the telerik namespace:
xmlns:telerik=http://schemas.telerik.com/2008/xaml/presentation
Аnd add a sample definition of the control:
<telerik:RadGanttView/>
Here is a screenshot of what you should see after running the project:
Now, we will create a data source in our ViewModel and bind...