Welcome to MSDN Blogs Sign in | Join | Help

Lester's WPF blog


Simple, easy & beautiful

News

XamlPadX V3.0

So I finally got some time to upgrade XamlPadX... One of the things that I really wanted to add was the plugin support and here you have it. So now users can create their own addins which will plug into xamlpadX.

Addin developers can use 3 functionalities of XamlPadX:

     void ChangeAppBackground(String str);
     String textBoxContents { get; set; }  //this is the content in the xaml textbox
     int TextBoxCaretIndex  //this is the caret index in the xaml textbox

The color pallette is now included as an addin - so on installation we already have one plugin ready. All selected addins are included in the menu. To create a new addin, all you need is to create a control which extends AddInAddInView shown below

      ColorPallette : AddInViews.AddInAddInView

 You could override the SendSignal call which is made by XamlPadX on first displaying the addin...

Bear in mind that the addins will work only with .NET 3.5 installed...Even if you dont have it, we catch the exception but allow running the app.

The addin feature wouldnt have seen the light hadnt it been for Keith, who is now in the Silverlight team :) ... Thanks Keith.

The other interesting feature added in 3.0 is the Loading option. You can now load dlls and have them referenced in xaml.

 The sample Xaml snippets have also been enhanced... Right click in the editiable textbox and check out the samples :)

Additional enhancements include perf, code restructuring, bugs, .... you get it :)

Download/Setup: Click here 

You might want to uninstall XamlPadX if you already have it.

HAPPY HOLIDAYS

Share this post

 

Posted: Wednesday, December 19, 2007 4:01 PM by llester
Filed under: , ,

Attachment(s): XamlPadX.exe

Comments

Community Blogs said:

Everybody must be in 'Holiday' mode. No submittals, so I'm going with product I've found

# December 19, 2007 5:44 PM

Adam Hill said:

Lester,

Which weather widget are you displaying in the bitmap in this post?

# December 20, 2007 10:15 AM

llester said:

# December 20, 2007 1:33 PM

Marlon Grech said:

Great job !!!

Can you please post some more info on how one can create plugins for this wonderful tool??

Regards

# December 24, 2007 7:41 AM

llester said:

yeah thats a good idea.

for now, create a usercontrol project. Let the user control class implement the AddInAddInView interface. Then place the resultant dll in the Addins folder... that should make it visible in the addins dialog

# December 24, 2007 6:23 PM

Marlon Grech said:

I tried that but it did not work... I also tried to decorate my class with the Addin attribute (the one in .Net3.5) but still noting was showing in the plugins dialog :(

# December 25, 2007 7:27 PM

llester said:

in your xaml

<f:AddInAddInView x:Class="customaddin.UserControl1"

    xmlns:f="http://foo" Height="200" Width="200"

 ........>

   <Grid>

     <Rectangle Fill="red" Height="100" Width="100"/>

   </Grid>

</f:AddInAddInView>

Code behind

[AddIn("MyAddin", Description="This is my addin", Publisher="MS", Version="1.0.0.0")]

   public partial class UserControl1: AddInViews.AddInAddInView

   {

............

}

Place the resultant dll in

Addins\(your addin name)\.

Restart Xamlpadx

# December 26, 2007 1:35 PM

Marlon Grech said:

Thanks to your help I managed to do it :) Thanks a lot... Happy Christmas and a happy new WPF year

# December 27, 2007 7:40 AM

marlongrech said:

Hello there,

I created a plugin for XAMLPadX that generates path geometry... have a look

http://marlongrech.wordpress.com/2008/01/10/jasema-the-xamlpadx-plugin-for-building-path-geometry/

Regards

# January 10, 2008 3:31 PM

marlongrech said:

# February 2, 2008 1:31 PM

This Blog Can Also Be A Hat said:

I have been working a lot with WPF and I found the following two FREE tools to be extremely helpful.

# August 1, 2008 11:49 AM

Lester's WPF blog said:

Current version of XamlPadX Version 4.0 Older Versions Version 3.0 Version2.5 Version2 Version 1.5 Version

# November 3, 2008 7:16 PM

#.think.in said:

VIC.NET Meeting Overview 15th Dec 2008

# December 15, 2008 8:01 PM

#.think.in said:

#.think.in infoDose #12 (15th Dec - 19th Dec)

# December 21, 2008 5:50 PM
New Comments to this post are disabled
Page view tracker