Lester's WPF\SL Blog

Simple, Easy & Beautiful

XamlPadX V3.0

XamlPadX V3.0

Rate This
  • Comments 15

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

 

Attachment: XamlPadX.exe
  • PingBack from http://msdnrss.thecoderblogs.com/2007/12/19/

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

  • Lester,

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

  • thats the widget i posted a few weeks ago

    http://blogs.msdn.com/llobo/archive/2007/11/26/wpf-weather-reader-user-control.aspx

  • Great job !!!

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

    Regards

  • 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

  • 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 :(

  • 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

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

  • 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

  • new version of Jasema

    http://www.codeplex.com/avalonControlslib

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

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

  • VIC.NET Meeting Overview 15th Dec 2008

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

Page 1 of 1 (15 items)