Adam Kinney on Longhorn

Designing and Developing with WinFX

March 2004 - Posts

  • Avalon SDK Team posts Performance Tips

    Filed under:

    In the microsoft.public.windows.developer.winfx.sdk news group the Avalon SDK team has begun posting Performance Tips.  They're great nice short notes that include sample code.  Perfect for a blog entry.  Avalon SDK team, why don't you setup a blog on LonghornBlogs.com?

    I believe that they might reach more people and will then also make it into Google's search index.  If you don't want to run a blog, I can syndicate your posts for others to enjoy. :)

    PostTypeIcon
    2,388 Views
  • Microsoft XNA

    Filed under:

    Microsoft unveiled its new XNA game development platform yesterday.  The platform and tools act as a common programming environment for PC and XBOX games.

    Hopefully by paying attention to what's going on here, I'll find some idea of the direction of DirectX.  I haven't found much public word on DirectX and how much 3D functionality will be made available in Avalon.  I'm guessing they are still trying to figure out what features if any can be done by the initial ship date.

    Make sure to check out the demo videos on the XNA site and imagine half of the programming work done for you by Microsoft.

    PostTypeIcon
    1,467 Views
  • VS2005 and Longhorn SDK?

    Filed under:

    I've seen all of the talk today about VS2005 now available on MSDN, but I am wondering how well this will work with Longhorn and the Longhorn SDK?

    Should I go to the trouble of uninstalling the Longhorn SDK and then installing the VS2005 bits?

    At this point I am thinking, probably not.  I doubt there is much to gain there for Longhorn development.  Am I right?

    PostTypeIcon
    2,064 Views
  • Animating Property Triggers

    Filed under:

    I've found Property Triggers and they are very handy.  If you've had to write UI code before I'm sure you are very familiar with rollover scripts and the like.

    I was working with my button, setup a trigger to change the color when I roll over it, and then the beauty of it is the trigger knows when a condition is no longer met and resets the property it has modified.

    <Style>
        <Rectangle Fill="Yellow" Cursor="Hand" Opacity="0.1" /> 
        <Style.VisualTriggers>
           <PropertyTrigger Property="IsMouseOver" Value="True">
              <Set PropertyPath="Opacity" Value="0.5"/>
           </PropertyTrigger>
        </Style.VisualTriggers>
    </Style>

    This is great but very sudden, what if I want a gradual transition?

    No problem.  Just setup a a brush with an Opacity Animation as follows:

    <DockPanel.Resources> 
       <SolidColorBrush def:Name="MyColor" Color="Yellow" Opacity="0.1">
           <SolidColorBrush.OpacityAnimations>
              <DoubleAnimation To="0.5" Duration="3" AutoReverse="True" RepeatDuration="Indefinite"/>
           </SolidColorBrush.OpacityAnimations>
        </SolidColorBrush>
        <Style>
           <Rectangle Fill="Yellow" Cursor="Hand" Opacity="0.1" /> 
          <Style.VisualTriggers>
              <PropertyTrigger Property="IsMouseOver" Value="True">
                 <Set PropertyPath="Fill" Value="{MyColor}"/>
              </PropertyTrigger>
           </Style.VisualTriggers>
        </Style>
    </DockPanel.Resources>

     

     

    Thanks go to Margaret Parsons for help with this code.

    PostTypeIcon
    4,300 Views
  • Marc Clifton starts a blog

    Filed under:

    In a Scoble-like blog success story, Marc Clifton has started a blog “to chronicle the adventures of MyXaml“, after a conversation in the comments of my MyXaml entry.  Now keeping track of MyXaml's progress will be a whole lot easier.

    I also promised Marc a banner for his blog after he said this:

    As for a designer, well, of course a lot of people aren't going to use markup directly without a designer. What's surprised me is that there are quite a few people that don't mind. But not having a designer is being addressed by MyXaml. Personally, I find the markup really easy to work with. Maybe I can get a handicapped permit for being "designer tool challenged".

     

    So here you go, Marc; and for anyone else who avoids designer tools (Don't get me started on the VS.NET Html designer).

       

    PostTypeIcon
    1,403 Views
  • MyXAML

    Filed under:

    Well you've heard of Xamlon, you can now welcome onto the scene - MyXAML

    MyXAML is another declarative-based Windows Forms generator.  but this time its an open-source effort.  The project administrator is Marc Clifton of CodeProject fame.

    Looks interesting, but at this point I am too ingrained in the classic “Longhorn way” to invest my time.

    PostTypeIcon
    4,084 Views
  • ProjectLonghorn.com

    Filed under:

    Andrew Watt didn't think it was funny, but I found this humorous.  Check out ProjectLonghorn.com, truly registered by Microsoft.

    Channel 9 is the Public Broadcasting Station in Seattle.

    PostTypeIcon
    2,960 Views
  • K. Scott Allen's first Longhorn experience

    Filed under:

    K. Scott Allen started using Longhorn this weekend and came up with a Visual Source Safe Utility and some good feedback.

    A few quotes I like:

    • ”GUI design with XAML is going to be fun”
    • I find the task based documentation (How Do I?) in the SDK extremely useful“ - My favorite section, too
    • “I’m starting to wonder what impact Avalon will have on the makeup of software development teams...“ - I saw this first brought up by Chris Sells.  I agree, I think a whole new area of expertise is coming on the horizon.
    PostTypeIcon
    1,808 Views