ImageButton crashes designer.

Dec 30, 2012 at 6:35 PM

If I have this in XAML

<Controls:ImageButton Grid.Row="0" Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center" NormalStateImageSource="Content/Images/TowerPlayerENUS.png" GenerateMissingImages="True"  />

When either in the VS XAML designer or Blend Designer will crash with:

FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

It is happing in the IO component.

However, if the NormalStateImageSource is not set, it works fine.

Probably should just put a try catch around it instead of trying synchornize everything that is going on. 

 

Coordinator
Jan 7, 2013 at 11:30 PM

Hi,

I am sorry, I haven't tested the toolkit with Blend extensively, so these issues are sure to be all over the place, but I'll try to fix it for ImageButton soon.

Coordinator
Jan 8, 2013 at 6:48 PM

It should be fixed in current source and NuGet (1.3.5.3). Not part of the latest CodePlex download (1.3.5.2).