I am getting the following exception when trying to open IG.xamGrid.xaml (the standard styles provided by Infragistics) in Expression Blend:
----------------------------
Invalid XAML
The specified value cannot be assigned to the collection. The following type was expected: "CommandSource".
The local property "EventName" can only be applied to types that are derived from "CommandSource".
The following lines in the XAML within the control template for the HeaderCellControl are highlighted with red underlines to indicate problems:
<ig:XamGridColumnCommandSource CommandType="Select" EventName="SimpleClick"/><ig:XamGridColumnCommandSource CommandType="SortToggle" EventName="SimpleClick"/>
Please note that I also get a similar exception when opening some of the XAML files in the Grid samples provided in Infragistics.Web.SLLOB.sln, for example:
ColumnHeaderAlignment.xaml, CustomColumnTemplates.xaml, CustomHeaderAndFooter.xaml, PagerCustomization.xaml.
Please could someone advise?
I am opening the file in Expression Blend in a project that has the XamGrid dlls referenced in it. Note that I get the same behavior in the Infragistics samples solution.
I opened a support case (ID: CAS-77158-YJXXCB) about this a couple of days ago as this has become more urgent. As yet I have not received a resolution.
Are you just opening the file or are you including the file in a project that has the XamGrid dlls referenced in it?
At the top of the Xaml file are multiple xmlns statements that tell the xaml file that the controls exist in a dlls somewhere.