Hello Telerik Team,
i have a user control Project. I declared the theme files in MergedDictionaries to style the ganttcontrol.
The structure is designed as Mvvm. When i start the Application i get a Null reference exception.
How can i fix this issue? Thank you and regards Robert ...
i have a user control Project. I declared the theme files in MergedDictionaries to style the ganttcontrol.
The structure is designed as Mvvm. When i start the Application i get a Null reference exception.
How can i fix this issue? Thank you and regards Robert ...
<
UserControl
x:Class
=
"GanttView.GanttControl"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
xmlns:vm
=
"clr-namespace:GanttViewModel;assembly=GanttViewModel"
DataContext
=
"{DynamicResource GanttViewModel}"
mc:Ignorable
=
"d"
d:DesignHeight
=
"1024"
d:DesignWidth
=
"1280"
>
<
UserControl.Resources
>
<
ResourceDictionary
>
<
vm:GanttControlViewModel
x:Key
=
"GanttViewModel"
/>
<
ResourceDictionary.MergedDictionaries
>
<
ResourceDictionary
Source
=
"pack://application:,,,/GanttView;component/Themes/System.Windows.xaml"
/>
<
ResourceDictionary
Source
=
"pack://application:,,,/GanttView;component/Themes/Telerik.Windows.Controls.xaml"
/>
<
ResourceDictionary
Source
=
"pack://application:,,,/GanttView;component/Themes/Telerik.Windows.Controls.GanttView.xaml"
/>
</
ResourceDictionary.MergedDictionaries
>
</
ResourceDictionary
>
</
UserControl.Resources
>