(X) Hide this
    • Login
    • Join
      • Say No Bots Generate New Image
        By clicking 'Register' you accept the terms of use .

Articles

Page  
Items View

  • 0 comments  /  aggregated from  house of mirrors  on  Aug 21, 2006 (more than a year ago)   /   original article
    I've been on an 'animate everything' kick lately, my first target was dialogs. With the new transparent windows in the July CTP, WPF makes it extremely easy to animate the opening and closing of the dialog windows.

    I modeled my dialog effect on the popular web technique 'lightbox' (aka greybox), a simple example of which is Lightbox JS, but it should be quite simple to custom tailor your own dialog.

    The cool thing here is that the dialog is a real modal dialog, not just another element at the top of the visual tree.


  • 0 comments  /  aggregated from  AdamU's WebLog  on  Jul 04, 2006 (more than a year ago)   /   original article

    Two weeks ago, I spent an entire week at a customer site. This customer is in Raleigh, NC, and I got to see their early progress on a WPF prototype. They see the User Experience opportunities with WPF as a key differentiator in their market.

    This opportunity came about because of a program that the Server and Tools Business within Microsoft runs, called Frontline. This program is why I spent the week with our Customer Support organization in April in Texas.

    We always try to look for win win situations. In the Frontline case, I think that this program is a true win-win.

  • 0 comments  /  aggregated from  Tales from the Smart Client  on  Mar 29, 2006 (more than a year ago)   /   original article

    Pablo is one the most senior people on the WPF team and has been a key decision maker in deciding what scenarios WPF would address.

     

    http://www.fernicola.org/loquitor/index.php?/archives/19-When-to-use-WPF-and-when-to-use-other-technologies.html

    I'm going to call out one point in particular, because I see a lot of people, including internally confused about WPF 3D. 

    if you already have domain knowledge in Direct3D (or OpenGL), you should stick with using Direct3D for WPF v1.

    Now, to provide more context on my guidance.

  • 0 comments  /  aggregated from  Tales from the Smart Client  on  Mar 21, 2006 (more than a year ago)   /   original article
    I was going to post something about the various levels you can use in WPF for graphics, but Pablo Fernicola beat me to it:  http://www.fernicola.org/loquitor/index.php?/archives/17-WPF-Pick-Your-API-Abstraction.html
  • 3 comments  /  aggregated from  Tales from the Smart Client  on  Mar 07, 2006 (more than a year ago)   /   original article

    CollectionView is a very interesting construct.  After including it in my ViewModel I meant to quickly blog about the usage...but when I started thinking about it and reading a bit more about it, it becomes even more interesting.  Lots of good blogging.  However, while I think about it, let me quickly make my original point.

    The Model has a simple List.  CollectionView wraps a Collection and adds concepts like selection, sorting and filtering to it and supports the INotify... goodness that data binding wants in order to do a really good job.

  • 0 comments  /  aggregated from  house of mirrors  on  Feb 10, 2006 (more than a year ago)   /   original article
    Rob Relyea from the Avalon team has a cool intro to 'attached properties', but sadly he doesn't go into the real fun you can have with attached properties. Basically they let you store data on arbitrary DependencyObjects, but the key is that they provide a callback whenever that data changes. Suddenly, this sealed to the hilt behemoth of an API can be extended.

    My current side project is to create my own set of extensible events and actions, but since EventTrigger and TriggerAction are sealed and give us non-Avalon folks no love, enter attached properties:


    <Rectangle Name='RedRect' Width='100' Height='66.6' Fill='Red'>
    <evt:Triggers.Triggers>
    <evt:PropertyTrigger Trigger='{Binding ElementName=RedRect, Path=IsMouseOver}' Value='True'>
    <evt:SetterAction Property='IsActive' Value='True' Target='{Binding}'/>
    <evt:MethodAction Method='Play' Target='{Binding ElementName=VideoFrame}'/>
    evt:PropertyTrigger>
    evt:Triggers.Triggers>
    Rectangle>


    So Triggers.Triggers is an attached property of a collection of Trigger objects.

Page