Rick Strahl's Web Log
Wind, waves, code and everything in between...
WebLog Posts in Category WPF
May, 2016 (4)
April, 2016 (4)
March, 2016 (3)
February, 2016 (2)
January, 2016 (5)
December, 2015 (1)
November, 2015 (3)
October, 2015 (1)
September, 2015 (2)
August, 2015 (2)
July, 2015 (5)
June, 2015 (5)
May, 2015 (5)
April, 2015 (3)
March, 2015 (5)
February, 2015 (4)
January, 2015 (5)
December, 2014 (3)
November, 2014 (2)
October, 2014 (3)
September, 2014 (2)
August, 2014 (1)
July, 2014 (2)
June, 2014 (4)
Visual Studio (39)
Web Services (18)
Web Api (16)
Sql Server (8)
Microsoft AJAX (8)
West Wind Ajax Toolkit (7)
Web Connection (7)
Entity Framework (6)
Html Help Builder (5)
Live Writer (5)
Source Control (4)
Visual Studio (4)
Help Builder (3)
Software Development (3)
Internet Explorer (2)
ASP.NET vNext (2)
Dynamic Types (1)
Control Development (1)
ASP.NET Core (1)
Web Deployment Projects (1)
Web Design (1)
Creating Single Instance WPF Applications that open multiple Files
May 13, 2016 - Maui, HI
If you're building document centric applications, Singleton style EXE applications are pretty common. Rather than creating new windows for each opened file, a more common scenario is to open new tabs in a single instance. In this post I'll describe how to create a WPF application that allows only a single instance to run and passes command line arguments passed in secondary instances to the primary instance and I'll describe some pitfalls that you might have to watch out for.
WPF Localization Guidance Paper Posted on CodePlex
July 01, 2009 - Hood River, Oregon
I’m happy to announce that my WPF Localization paper went live a couple of days ago on CodePlex. This document provides an overview of localization in .NET in general as well as specifically to WPF. It covers localization with the rigid LocBaml approach, as well as using Resx resources for binding using markup extensions and attached properties respectively.
WPF Bindings and CurrentCulture Formatting
June 14, 2009 - Hood River, Oregon
WPF doesn't apply the CurrentCulture to bindings by default, which is a little... unexpected to say the least. As it turns out there's an easy solution to this problem, but it does require using code to apply the culture specifically in every document.
Getting the App’s Startup Assembly in WPF Designer?
June 09, 2009 - Maui, Hawaii
I've run into a vexing problem with a Markup Extension for localization. In this extension I have the need to get a reference to the parent application (the WPF EXE basically) inside the WPF designer/Blend. Due to the runtime environment of the designer I've not been able to make this work short of running the markup extension in the same assembly as the main application.
Resx and BAML Resources in WPF
June 04, 2009 - Maui, Hawaii
Resource loading in WPF applications that mix BAML and Resx resources can be very confusing as BAML resources require that all BAML resources are stored in external satellite assemblies.
Rendering a WPF Container to Bitmap
September 10, 2007 - Hood River, Oregon
One of WPF's nicer features is its ability to render any visual into a bitmap easily, and so I thought I'd create a simple little tool that would create rounded corner bitmap bars with transparent backgrounds. It's actually quite easy to do, but I ran into a few pitfalls and inconsistencies that make WPF coding oh so much fun.
Hosting a WCF Service in a non-.NET Client
June 15, 2007 - Hood River, Oregon
I'm still screwing around Web Connection and trying out a quick proof of concept tonight and thought I'd share a few steps on how to host a WCF in a non .NET client via COM Interop client like Visual FoxPro. This article discusses WCF server and client creation in general terms and in addition covers the interop issues to make it work in these clients.
WPF: How hard could it be to get a SelectedItemTemplate?
May 23, 2007 - Hood River, Oregon
Here's a fun one to do in WPF. Say you have a ListBox or ListView that is databound and you want to get at the content of the data template used for binding of the items in the list. In my case I want to trigger an animation when the item is selected to indicate the change. It's quite easy to get a...
Fumblings and Thoughts on WPF DataBinding
May 20, 2007 - Hood River, Oregon
So I spent the evening today experimenting with databinding in WPF. Overall I'm very excited about that data binding capabilities in WPF which finally has produced a powerful and reasonably user friendly way to do data binding of just about any type to anything else. WPF makes this easily available...
WPF Experiments: Changing a Live Writer Plug-in to use WPF
May 14, 2007 - Hood River, Oregon
Ok so I had a little free time on my hands this weekend and was looking for a simple something to use WPF on. A few weeks back I'd been playing with an Justin Brown's Amazon book plug in for Live Writer, which is part of the Windows Live Writer Plugins on CodePlex. Back when I first looked at his...
Great WPF Book
April 22, 2007 - Maui, Hawaii
As I've mentioned off and on I've been boning up on WPF for about a month now. I'd though I'd pass on my thoughs on the book I've enjoyed reading and working through: Windows Presentation Foundation Unleashed (WPF) (Unleashed)by Adam Nathanpublished Dec. 2006Read more... This book rocks -...
Beyond HTML: Rich Internet Applications
April 15, 2007 - Maui, Hawaii
Rich Internet Applications (RIA) is a term used to describe non HTML based, low impact Internet applications. RIA’s typically run in the browser (although they don’t have to) and get their data from the Web server over HTTP. One of the big selling points of RIA’s is that they provide many of the...