Tag: WPF
-
As I mentioned in my article on implementing the BackgroundWorker to keep your WPF user interface responsive, the BackgroundWorker class supports cancellation. I will illustrate here how easy it is to accomplish. I’ll build this example by continuing the example in the previous article. First, let’s add a BackgroundWorker property…
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
I was in search of an easy implementation of a splash screen for my current project. I wanted to be able to show a splash screen and update it with current status information as my application initialized. The standard SplashScreen class provided by Microsoft does not support showing dynamic content…
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
In my current project, we had a need to create a custom WPF dialog box. Writing our own provides us the ability to easily skin the window with our application’s theme as well as gives us the ability to generate any buttons we wanted. We wanted our custom dialog box…
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
The other day I started moving all my event handlers in my application from the View’s code-behind file to the ViewModel. I accomplished this using command binding. This was all easy enough – until I came to my Close method. You see, in the MVVM (Model – View – View…
-
In the Model-View-ViewModel design pattern, we make frequent use of the INotifyPropertyChanged interface. It is the Interface that defines the necessary methods to Notify the UI when a Property has Changed. As you can see, its a very well-named Interface. 🙂 I’ve collected a few variations of the implementation and…
-
+
+
+
+
+
+
One of the issues with multi-threading in WPF is the inability for processes on a separate thread from the user interface to directly access objects in the UI. The .NET Timer object does not run in the same thread as WPF’s UI, so it therefore cannot directly update the UI.…
-
I recently completed an application that made use of the WebClient object’s DownloadString method to obtain a JSON string. In my development environment retrieval of this data often took upwards of 30 seconds. If you’ve ever incorporated a time-consuming process in your application, you may have noticed that your user…
-
I was in need of a WPF color picker control and settled on the Extended WPF Toolkit.  Note that I didn’t say that I settled for – simply put, the controls in this collection are amazing for the price.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
I’m working on a project developing an application for a touch-screen interface.  As such, all of my screen elements are BIG, to accommodate navigation via touch.  It occurred to me that I could save space by eliminating labels for textboxes.  Of course, I don’t really want to have a bunch of textboxes with…