Search results for query "WPF" (15):
Simplifying the WPF TreeView by Using the ViewModel Pattern
This article explores how to use the ViewModel pattern to make it easier to work with the TreeView control in
WPF. Along the way, we examine why people often have difficulty with the
WPF TreeView, what a ViewModel is, and two demo applications that show how to combine a TreeView with a ViewModel. One of the demos shows how to create a searchable TreeView, the other demonstrates how to implement lazy-loading (a.k.a. load-on-demand).
Creating the Same Program in Windows Forms and WPF
This article shows two implementations of the same simple program. First, we examine the Windows Forms version, followed by the
WPF version. The purpose of this article is to show WinForms programmers a simple example of creating a
WPF application. Along the way, we compare and contrast working with the two platforms.
WCF WPF Chat Application
This application is built on the WCF .NET Framework 3.0. It uses duplex communication and TCP binding (for some reasons that are discussed later in this article). It concentrates on handling and controlling a WCF service that has to make reliable sessions with many clients and keep those connections alive as long as possible.
Developing a Realtime Stockreader using WPF and Yahoo Finance Data
RealtimeSockreader is a desktop widget for viewing live stock data of your portfolio
Creating a Outlook Navigation Pane by restyling a WPF TabControl
Restyling a standard TabControl to look like a Outlook Navigation Pane
WPF Meets the iPhone
The iPhone is one of the most compelling and exciting user interfaces to appear on any consumer electronic device, with many innovations that make it a pleasure to use. How can you deliver a similar experience with your .NET applications?This article demonstrates how you can implement these features in your .NET applications in a step-by-step format as you recreate the iPhone interface using Windows Presentation Foundation (
WPF) technology with both Visual Studio 2008 and Microsoft Expression Blend.
Using MVC to Unit Test WPF Applications
Provides guidance for using the Model-View-Controller design pattern to create modular
WPF apps that are easy to unit test
WPF Master Pages
One of the really great enhancements in ASP.NET was the introduction of master pages. They help developers to create a consistent layout for the pages in an application. Unfortunatly there is no such concept in
WPF. But there is an easy way to build a control similar to an ASP.NET master page.
WPF Threads: Build More Responsive Apps With The Dispatcher
Windows Presentation Foundation (
WPF) is a great technology for creating compelling user interfaces, but that doesn't mean you don't have to take the responsiveness of your application into account. The simple fact is, no matter what type of long-running processes are involved—whether getting large results from a database, making asynchronous Web service calls, or any number of other potentially intensive operations—making your application more responsive is guaranteed to make your users much happier in the long run. But before you can start using an asynchronous programming model in your
WPF application, it is important that you understand the
WPF threading model. In this article I will not only introduce you to that threading model, but I'll also show you how the Dispatcher-based objects work and explain how to use the BackgroundWorker so that you can create compelling and responsive user interfaces...
3D text in WPF
Outline font technologies such as TrueType primarily provide us with typographical flexibility and accuracy, but they can also serve as graphical playthings. Programmers can get access to the actual outlines that define each text character and treat them as vector graphics objects. The outlines can be stroked, filled, used for clipping, or subjected to transforms. A popular feature in Microsoft Word known as WordArt is based on this concept.
It's important to recognize the nature and limitations of these character outlines: they are strictly geometrical and are missing the "hints" that the operating system normally uses to render fonts on the screen. These hints allow the characters to be rasterized intelligently based on the available pixel grid. Consequently, the unhinted character outlines look best in big font sizes or on high-resolution devices. They are usually not adequate for rendering text at normal font sizes on the screen. (However, as printer resolution gets higher and as antialiasing is used more for screen graphics, the value of hinting has decreased)..