Nathan Dunlap

Nathan Dunlap

Browse by Tags

All Tags
  • MultiPropertyTrigger in Styles

    Filed under:
    Somehow I haven't stumbled on this until. This morning I was browsing through a parser test and I saw MultiPropertyTrigger and decided to try it. This seems like it would be pretty crucial for complex styles. Here is what it looks like: <Style.VisualTriggers
    PostTypeIcon
    3,633 Views
  • Creating Clip Art for Avalon

    Filed under: , ,
    I've been asked how I created different Clip Art pieces in my demos a lot recently so I figure this is a good topic to blog on. If any of you have taken a look at typical path data, you are aware that its pretty painful to even think about manipulating
    PostTypeIcon
    5,000 Views
  • Hooray for WinHEC bits!

    Now that the SDK has been updated I can finally start posting on some of the really cool features that I have been playing with for the last couple of months. I've got an article in the works that is an updated version of my GelButton that I posted earlier
    PostTypeIcon
    5,709 Views
  • The Gel Button Strikes Back

    Click here to download the xaml <FlowPanel xmlns=" http://schemas.microsoft.com/2003/xaml " xmlns:def="Definition"> <FlowPanel.Resources> <Style> <Button ClipToBounds="False" Margin="5" Cursor="Hand" Background="#3791dd" Width="150
    PostTypeIcon
    8,889 Views
  • Creating resizable panels with splitter bars

    Filed under:
    Jonathan Russ, a developer on the Avalon Demo team, mentioned that somebody was asking how to do resizable frames on the newsgroups. This is really easy to do with DockPanel.Dock=“Fill“ so we put together a sample that allows you to do this
    PostTypeIcon
    3,166 Views
  • Creating resizable panels with splitter bars

    Sample code is located here Jonathan Russ, a developer on the Avalon Demo team, mentioned that somebody was asking how to do resizable frames on the newsgroups. I threw some simple XAML together that created the panels and defined the visuals of the splitter
    PostTypeIcon
    21,482 Views
  • Creating Shapes with CombineMode

    Filed under:
    I demonstrated using CombineMode in my earlier post about clipping. You can do the same thing on a Path element to create more complex shapes. I needed a reference app so I could remember what each type of CombineMode does. I've posted that app to http
    PostTypeIcon
    2,747 Views
  • GelButton Article and using DockPanel with Margin

    Filed under: ,
    I am more or less done with the article on creating a gel button using styling. The article is posted here http://www.longhornblogs.com/ndunlap/articles/2203.aspx While I was writing the article I realized that I frivolously use DockPanels wrapped around
    PostTypeIcon
    5,882 Views
  • Creating dropshadow text in Avalon using ImageEffectBlur

    Filed under:
    Whew! its been along time. There is so much to blog about regarding Avalon, I get blogger block. (Doesn't help there are so few hours in the day... I was hoping Bush would address that in the State of the Union tonight. More tax cuts please, more hours
    PostTypeIcon
    7,605 Views
  • Customizing button using Avalon styling...

    Creating a customized GelButton A project for this article is located at http://www.dunlap.cc/lhblog/styles/GelButtons.zip Creating visuals for custom designed controls in markup is really powerful with Avalon. It might seem a little overwhelming at first
    PostTypeIcon
    48,633 Views
  • Global styles and resources using application level resources

    Filed under: ,
    In DHTML you can create global CSS stylesheets that allow you to access your styles across multiple web pages. You can do the same thing by storing your resources in the application object. This is much more powerful with XAML because you can store more
    PostTypeIcon
    4,520 Views
  • Reusing Vectors with Styles and def:Includes

    Filed under: , , ,
    In my last post I mentioned that drawing brush is good when you don't want your vectors to intelligently resize and layout. So what do I do when I want to reuse vectors that I do want to dynamically resize? Well the obvious solution is to build my vector
    PostTypeIcon
    3,282 Views
  • Creating vector icons with DrawingBrush

    Filed under: ,
    OK, creating icons in today's world sucks... First I have to create multiple sizes of icons 16x, 24x, 32x 48x, 64x, etc. Even when I go through all the trouble of making sure I have all the different dimensions of the icons I need, I still run the risk
    PostTypeIcon
    9,709 Views
  • Defining resources in markup

    Filed under:
    In the SDK is a demo where I completely change the look and feel of an app by swapping out resources on the fly based on user interaction. This demo is located here if you want to try it out. I've got another demo where I have one set of resources defined
    PostTypeIcon
    3,024 Views
  • Clipping video

    Filed under:
    There are some great things you can do with Clipping. Most commonly you will use ClipToBounds to decide whether an elements children will draw beyond the element's described dimensions. However you can really go crazy with Clip . For example, clipping
    PostTypeIcon
    4,264 Views
  • Design Eye for the Dev Guy

    Who I am, what I do and what's it to ya? I have the luck and good fortune of being a designer on Avalon. Previously I was a designer on the IE SDK team where I picked up a bunch of DHTML skills. Match those skills with some proficiency in designer apps
    PostTypeIcon
    2,634 Views