Project Description
A WPF user control that allows dynamic creation of controls on a canvas.
At runtime, users can add, remove or change controls on your canvas (like textboxes, checkboxes, drop downs etc).
Try the demo app !!

August 19 2011: new video's on BeeCoders.com


Project WebSite: http://www.beecoders.com

Screen Casts: http://www.beecoders.com/wpfcontrolcanvas.html

 

Quick Instructions:

If you download the DemoApp, please make sure you unblock the zipfile in windows before extracting (Properties->Unblock).

 

Reference the dll in your project and use the control.

Add a merged dictionary in your app.xaml

		

XAML:

<ResourceDictionary>
	<ResourceDictionary.MergedDictionaries>
		<ResourceDictionary Source="pack://application:,,,/BeeCoders.Tools.ControlCanvas;component/Resources/Dictionary.xaml" />
	</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>

 

In Code:

 

app.Resources.MergedDictionaries.Add(
                new ResourceDictionary
                {
                    Source = new Uri("/BeeCoders.Tools.ControlCanvas;component/Resources/Dictionary.xaml", UriKind.RelativeOrAbsolute)
                });

Last edited Aug 22, 2011 at 5:07 PM by BeeCoder, version 16