Contents tagged with XAML

  • Visual Studio XAML Editing Tip

    So I'm working in XAML in Visual Studio 2008 and it has some nice statement completion features now, like automatically quoting my attributes for me (cool!).  When there's an item it knows, like Orientation="Horizontal|Vertical" it will give me a dropdown and after selection, put the cursor after the closing double quote, as you would expect, like this (the _ represents the cursor): <StackPanel Orientation="Vertical"_ However, if you edit a field that doesn't have a limited set of options, like Width, you don't get this behavior, so you're trapped inside of the double quotes: <StackPanel Orientation="Vertical" Width="30_" None of the standard keys within reach of a touch typist … more

  • WPF for ASP.NET Developers

    Brian Noyes gave a presentation to the Cleveland .NET SIG last night on WPF for ASP.NET Developers.  I took some notes, which I’ll present a few of here in case they’re helpful to anyone else. WPF Logical Pixels, not physical pixels, each 1/96 of an inch Vector Graphics based Containers Many controls are containers Support composition (images within buttons within buttons etc.) Declarative XAML Documents and Media are 1st class objects Video/Audio Word DOCs, PDF, etc. Supports Interop (both ways) with Windows Forms in about 4 LOC Requires .NET 2.0 New features will require .NET 3.0/3.5 Application Types Windows Application Same as Windows Forms Can support ClickOnce … more