RadiantQ WPF Gantt
How to manually add references to the GanttControl to an existing project?
Previous Topic  Next Topic 

Normally, you shouldn't have to manually add references to the RadiantQ Gantt in your project. Following these steps mentioned in the Getting Started section to create a Toolbox entry and dragging the GanttControl to your XAML file should create the necessary references.


But, we noticed issues with adding our control to the Toolbox in certain installations. In such cases, please follow these steps to add the GanttControl to your existing or new projects.


Step 1: Add necessary assembly refereces:


Add the following assembly references to your project:


- RadiantQ.GanttControl.WPF.dll

(Normally found at C:\Program Files\RadiantQ\WPF Gantt 1.7\bin)


Step 2: Add a namespace reference to your MainPage.XAML:


<Window

xmlns:gantt="clr-namespace:RadiantQ.Windows.Controls.Gantt;assembly=RadiantQ.GanttControls.WPF"

........

>


Step 3: Add an instance of the GanttControl to your page:


<gantt:GanttControl x:Name="ganttControl1" />


Here is an example of the complete page:


<Window x:Class="GanttControlCustomAppearance.MainWindow"

       xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

       xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

       Title="GanttControlCustomAppearance" Height="843" Width="1083"

       xmlns:local="clr-namespace:GanttControlCustomAppearance"

       xmlns:gantt="clr-namespace:RadiantQ.Windows.Controls.Gantt;assembly=RadiantQ.GanttControls.WPF"

       >

  <Grid x:Name="LayoutRoot">

        <gantt:GanttControl x:Name="ganttControl1" />

  </Grid>

</Window>



� RadiantQ 2009 - 2019. All Rights Reserved.