Blog

Books

Books I tech reviewed and recommend
Sorry I can't reply to every email and comment. If you need a fast response, try the WPF Forum or Silverlight Forum.
August 23, 2005

Hello World!

About me

Nationality: Portuguese

Interests: Travelling, Snowboarding, Hiking, Snowshoeing.

Job Description: I work for the Data Binding team in Windows Presentation Foundation. It’s pretty cool how this works. I would actually pay to get to play with the coolest features of WPF in their early stages, but instead I get paid to do it! (Just don’t tell my boss I said that.) Data Binding is where everything comes together: it ties the UI to the data model. It’s where all the magic happens. And I’m pretty lucky to be given a chance to understand that magic.

This blog is a product of my laziness. There are some questions I get asked over and over again. I will feel like I accomplished something when next time someone asks me a question I can just email them a link to a previous post in my blog.

Posted by Bea under General | Comments (10)

10 Responses to “Hello World!”

  1. Shanthu says:

    Your WPF blogs are really nice and very very useful. Thank you for sharing all that knowledge.

    I have a following requirement.

    We execute a query, we do not know what kind table (hence columns) we get back at the design time. So, we have to build the ListView (Gridview) control on the fly during the run time.
    There must be something in avalon data binding to perform this operation. If you happen to have any samples, please let me know.

    • Bea says:

      Hi Shanthu,

      Thank you for your nice words.

      As far as I know, there is nothing on the “data binding” or “controls” feature areas that does what you are asking out of the box.

      I implemented a DataGrid control in Avalon a long time ago that did just what you are asking: it created a column in the UI for each column in the DataTable. I did that on the fly at run time, just like you.

      Since we have no DataGrid control in Avalon for V1, I can’t think of any other control that would support this functionality. This is good feedback for when we consider implementing the DataGrid control.

  2. Minherz says:

    Hello Beatriz. I had preferred to send an email, but this blog lacks this feature. I am looking for efficient ways invoking binding in .NET 2.0 framework. Can you turn me to the person who is specializing in this area?
    Thank you.

    • Bea says:

      Hi Minherz,

      When you say “.NET 2.0 framework”, are you talking about WPF, WinForms or something else? For WPF Data Binding questions, you can ask me. If you’re interested in other technologies, please leave your email when you reply here and I’ll send you the right contacts.

      Thanks,
      Bea

  3. Jose Luis Latorre says:

    Hi Bea,
    Yours is a great website and a great reference site for me, it has the most advanced details about wpf databinding!
    Also it has helped me like none other it has, with “advanced” themes as multiple level(nested) databinding :)

    Well, if you ever pass through Barcelona, let me know, I’m the Barcelona’s .Net user group leader and you would be here more than welcome. you can check http://www.bcndev.net to see what we do.
    Ah, and I’m passionate about WPF, since it appeared oficially at November.

    Best regards,
    Jose Luis Latorre

    • Bea says:

      Hola Jose!

      I really appreciate your kind words and offer. I may be able to go on a Europe trip sometime in the first half of 2008. If that’s the case, I will be sure to let you know.

      Keep using WPF!

      Bea

  4. Pascal says:

    Hi Beatriz,
    I have read your great article on “How do I display items in an ItemsControl using different templates?”. I’m not sure if my question has already been replied, anyway, I wanted to know how this implicit
    datatemplating works, since I want to do something similar while implementing a custom control of mine (deriving
    from frameworkelement). How can we get implicit datatemplating when using a custom control?
    Thanks,
    Pascal.

    • Bea says:

      Hi Pascal,

      FrameworkElement doesn’t support templating, so it would be easier for you to have your custom control derive from Control, or ContentControl if you want support for data content. The alternative would be to re-implement our templating feature in your control, but that would be a lot of work.

      I made a simple sample (which you can find here) where you can see implicit templating working on a custom control that derives from ContentControl. Notice that I had to add a ContentPresenter element to the ControlTemplate of this control, in the generic.xaml file.

      Hope this helps.
      Bea

  5. Hello Bea!
    Nice blog, I will start reading it cause I want to start learning WPF (and now I’m researching on Data Binding). Hope I’ll find answers to my questions.

    Timo

Leave a Reply

For spam filtering purposes, please copy the number 5494 to the field below: