Skip to main content

Microsoft Silverlight

Issues with custom contols - Blend 2RSS Feed

(0)

pampaian98
pampaian98

Member

Member

1 points

9 Posts

Issues with custom contols - Blend 2

Hi,

I am developing an app where by the user can build up a picture on a canvas by selecting scenery from the left hand side of the screen.  My problem is that all of the custom controls are working fine in blend, i.e. they are displayed on the page in the selection menu before the application is run, however when the app is ran only a limited number of controls are showing up.  I know there are some issues with blend so I have tried the beta 3 but this does not help.  I could understand that there was a problem if the controls didnt show up in design or run time but I cant see why they wont just fire up at runtime. 

I have included a copy of the code for one of my controls, any help on this would be greatly received.  Cheers

 

1    2    	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3    	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4    	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
5    	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
6    	mc:Ignorable="d"
7    	x:Class="ShapePicker.flowers03"
8    	d:DesignWidth="66" d:DesignHeight="63">
9    
10   "LayoutRoot">
11           
12               "Scale">
13           
14   		"-11,17,-9,19" Source="flowers03.png" Stretch="Fill"/>
15   	
16   
 

pampaian98
pampaian98

Member

Member

1 points

9 Posts

Re: Issues with custom contols - Blend 2

Just an update to anyone who cares, I have managed to get the control to put in the png if I host it on a website and link to it like that, for some reason it doesnt like pulling in the png from the hard disk - but it does for the same image but just a different colour tree.  If anyone knows why this might be happening I would appreciate an answer :)

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities