No constructor for type 'RelativeSource'

Sep 14, 2009 at 7:44 PM
Edited Sep 14, 2009 at 7:49 PM

Hi,

I've downloaded the latest release and installed the project.

using VS 2008 when I tried to build it I get the following errors:

Error 1 No constructor for type 'RelativeSource' has 3 parameters. ....\ResourceSets\ControlStyles.xaml 1282 71 
Error 3 Value 'ResourceSets\ControlStyles.xaml' cannot be assigned to property 'Source'.  ..\Application.xaml 9 37

Here's the line:

<font size="2" color="#a31515"><font size="2" color="#a31515">

 

</font></font><font size="2" color="#a31515">

 

</font>

<ControlTemplate.Triggers> 
<DataTrigger Binding="{Binding Path=IsMouseOver, RelativeSource={RelativeSource FindAncestor, {x:Type igDP:DataRecordCellArea}, 1}}" Value="True"> </DataTrigger> <DataTrigger Binding="{Binding Path=IsSelected, RelativeSource={RelativeSource FindAncestor, {x:Type igDP:DataRecordCellArea}, 1}}" Value="True"> </DataTrigger> <font size="2" color="#a31515"><font size="2" color="#a31515">

 

</font></font><font size="2" color="#a31515">

 

</font>

<!-- HighlightAsPrimary -->