Rob Relyea

xaml:Blog

XAML used for Windows Workflow

The WPF and WF teams have worked together to make sure our markup formats are both XAML.

See a bit about using XAML for Workflow in this article.  Comments on the article should go on this post from K. Scott Allen.

Only one (very minor) problem I saw in the article...Grid.Row and Grid.Column start at 0, not 1.  WPF should have thrown an exception, I would think in that case...not sure why we don't.  I'll check why we aren't throwing now...

What other declarative formats would work well being described in XAML?  Would love to hear your thoughts/feelings on that...

Posted on Mar 26 2006, 07:41 PM by rrelyea
Filed under:
PostTypeIcon
16,718 Views

Comments

  • Keeron Modi said:
    Like the new Office (2007) Ribbon UI / XML based UI definations, we are also trying something similar. It seems like reinventing the wheel, but since Office doesn't have any open APIs, we had to design a similar schema like them with callbacks and whatnot. Looking back at it, it does look like a xaml file. The UI is defined in in xml, with events/actions done via callbacks (similar to what we do for triggers and other properties in XAML). The xml is mainly used for defining the UI and actions for the UI elements. The code behind deals with the actual actions/onClicks, etc.

    I'd love to see XAML being used there. If there's some standard being developed to define a Ribbon type UI (based on XAML), it'll be really helpful for the next gen-apps (that are going the Ribbon way).

    Hopefully as our legacy app goes more towards .net/WinFX, we'll convert our xml schema/UI definations to xaml. (Btw, like Office, this xml UI can be defined/modified by the user... so users providing xaml files is not the ideal way, but certainly GUI tools like Sparkle,etc can help in that regards)
    March 27, 2006 12:58 PM
  • Rob Relyea said:
    There are several ways that people use the term XAML:
    1) XAML Language - the core language. ...
    March 29, 2006 5:21 AM