Pedro Silva's Blog

Development lead on Visual Studio Platform team focusing on the extensibility of Visual Studio.

Browse by Tags

Tagged Content List
  • Blog Post: WpfAboutBox: Dialog Layout and Styles

    I wanted to make an AboutBox that is as easy to use as the one that comes with Winforms. But, I also wanted to make use of some of the cool new UI capabilities in WPF and make it look a little snazzier than the default WinForms one… Below are the two different AboutBoxes: As you can see the...
  • Blog Post: WpfAboutBox: Intro

    I've been testing out some of the different possibilities in WPF with a sample AboutBox -- every program has one and they're not overly complex (so they make a good starting point). Also, for those of you WinForms-turned-WPF devs out there, you've probably noticed that there's no WPF equivalent of the...
  • Blog Post: Programmatic Access to XmlDataProvider

    It’s pretty easy to set up an XmlDataProvider as a resource in your WPF application. This lets you databind controls to XML data islands pretty easily. The following XAML puts an XML data island into my application. < Application.Resources > < XmlDataProvider x : Key ="aboutProvider" XPath...
  • Blog Post: A WPF Dialog Window

    I’m continuing to work through learning more about WPF and XAML. I was trying a simple dialog and noticed that it didn’t look like typical Windows dialogs… for example, all WPF windows have an icon, but if you look at dialogs in most apps (and what WinForms produces), they don’t have a visible icon and...
  • Blog Post: WPF LinkLabel

    WPF doesn't have a built in LinkLabel control as you'd find in WinForms. But, I have found a couple of neat ways of doing one in WPF. The first was creating a new WPF control that derives from Label and then adds functionality to have it behave like a hyperlink. While this will certainly work, it's more...
Page 1 of 1 (5 items)