Coffeehouse Thread

8 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

what I need in a XAML editor

Back to Forum: Coffeehouse
  • User profile image
    SteveRichter

    Would be very useful if I could see the linkage between the binding of individual properties and what is bound to the data context.  For example, I need to be able to position the cursor at a binding of a Text property of a TextBox and press F12 to see the class/property the binding relates to.

    Sure, the specific bindings are not known until run time. And can vary even then. But the majority of the time bindngs from XAML will not change. Possibly if run time info could be captured. "The last time the app was run, the XAML of a specific window class had its data context bound to a specific object type".  Then the editor could access the historical info about the running of a window class to see the type an individual binding is likely binding to.

     

     

  • User profile image
    Harlequin

    I thought Xaml had binding breakpoints in VS2012...

  • User profile image
    Dr Herbie

    Plus, you can already declare a class in code and have it bound in the design-time editor -- so it must be able to backtrack the binding to a class ... ?

    Herbue

  • User profile image
    SteveRichter

    , Harlequin wrote

    I thought Xaml had binding breakpoints in VS2012...

    that is run time.  I am ok with tracking down my binding errors. What I need help with is when in the XAML editor I would like to see the bindings that will be available to me when the code runs.

     

  • User profile image
    SteveRichter

    , Dr Herbie wrote

    Plus, you can already declare a class in code and have it bound in the design-time editor -- so it must be able to backtrack the binding to a class ... ?

    I am not sure how this works. I can tell the design time editor what is bound to the XAML?

  • User profile image
    Dr Herbie

    @SteveRichter: There's a blog article here.

    It makes it easier to double-check the bindings in design time because there's some realistic data visible to base it on.

    Herbie

  • User profile image
    JohnAskew

    , Dr Herbie wrote

    @SteveRichter: There's a blog article here.

    It makes it easier to double-check the bindings in design time because there's some realistic data visible to base it on.

    Herbie

    How very clever. Thanks for the tip, Dr.

  • User profile image
    Harlequin

    Tough on a project with short deadlines, as the developers rarely have enough time to get dummy data for the designer to start designing things.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.