Sign in
Windows Presentation Foundation User Education
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
.NET Framework
.NET Framework 4
3.5
Controls
Data Binding
DataGrid
Design
Expression Blend
FAQ
Features
General
MSDN
News
Performance
Sample
Silverlight
Styles and Templates
Tips & Tricks
Visual Studio
Windows 7
Windows Presentation Foundation
WPF
WPF Designer
WPF Toolkit
XAML
Archive
Archives
July 2011
(1)
December 2010
(1)
November 2010
(2)
August 2010
(3)
July 2010
(4)
June 2010
(2)
May 2010
(3)
April 2010
(1)
March 2010
(1)
February 2010
(3)
January 2010
(1)
December 2009
(1)
November 2009
(3)
October 2009
(2)
September 2009
(4)
August 2009
(2)
July 2009
(3)
June 2009
(1)
May 2009
(6)
April 2009
(4)
March 2009
(2)
February 2009
(3)
January 2009
(3)
December 2008
(1)
November 2008
(4)
October 2008
(5)
September 2008
(2)
August 2008
(3)
May 2008
(2)
April 2008
(2)
January 2008
(1)
December 2007
(2)
November 2007
(4)
October 2007
(3)
September 2007
(2)
August 2007
(4)
July 2007
(4)
June 2007
(4)
May 2007
(3)
April 2007
(5)
March 2007
(6)
February 2007
(4)
January 2007
(11)
December 2006
(6)
November 2006
(4)
October 2006
(5)
September 2006
(2)
July 2006
(3)
June 2006
(13)
May 2006
(10)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Windows Presentation Foundation User Education
Flags of World Cup Soccer 2006
Posted
over 7 years ago
by
wcsdkteam
1
Comments
Inspired by watching a number of World Cup matches, I've created XAML drawing images representing the flags of the eight quarterfinalists in World Cup 2006. The images were created using Expression Graphic Designer and exported as DrawingImage resources...
Windows Presentation Foundation User Education
WPF Basic Data Binding FAQ
Posted
over 7 years ago
by
wcsdkteam
15
Comments
Through talking to people and monitoring both internal and external forums, I have compiled a list of questions people often have when first learning about WPF data binding. If you have any questions, please leave a comment and let me know! What...
Windows Presentation Foundation User Education
Custom Window Chrome in WPF
Posted
over 5 years ago
by
JGalasyn
7
Comments
Guest post by Joe Castro, WPF product team developer This document covers the design and some implementation details of getting WPF windows wrapped in custom chrome. Currently WPF supports standard windows, with an icon, title-text, and caption buttons...
Windows Presentation Foundation User Education
Data Validation in 3.5
Posted
over 6 years ago
by
wcsdkteam
16
Comments
A cool new feature in the Data area in 3.5 is the support for IDataErrorInfo. Let's take a look at the data validation model in 3.5 by starting with a memory refresher of that in 3.0. We end with a section that discusses how to choose between the different...
Windows Presentation Foundation User Education
Controlling z-order using the ZIndex Property
Posted
over 7 years ago
by
wcsdkteam
2
Comments
Shows how to use the ZIndex attached property to change the z-order of child objects in a Panel-derived class collection....
Windows Presentation Foundation User Education
Chart Controls for WPF ship in the Toolkit
Posted
over 4 years ago
by
Margaret Parsons [MSFT]
6
Comments
We posted previously about the development of the WPF chart controls. With the release of the June WPF Toolkit you now have the controls at your fingertips. You can make bar, pie, bubble, scatter and line graphs. Check out this blog post for details!...
Windows Presentation Foundation User Education
How do I programmatically interact with template-generated elements? Part II
Posted
over 6 years ago
by
wcsdkteam
24
Comments
This post shows you how to find a named element within a DataTemplate. In Part I , we discussed how to find a named element within a ControlTemplate. That was fairly simple; you’d call Template.FindName on the control that the ControlTemplate has...
Windows Presentation Foundation User Education
OpenFileDialog sample
Posted
over 3 years ago
by
Margaret Parsons [MSFT]
4
Comments
I finally got some time to dig through all my customer feedback requests and found a glaring problem! The OpenFileDialog class has basically no content on it and so I set about correcting that. It turned out there was a nice little example already living...
Windows Presentation Foundation User Education
Specifying the Selection Color, Content Alignment, and Background Color for items in a ListBox
Posted
over 6 years ago
by
wcsdkteam
10
Comments
This post covers some tips and tricks that people frequently ask concerning specifying the appearance of a ListBox. Here’s some things that someone, somewhere, might find useful: Specifying the Selection Color If you’ve ever tried the following...
Windows Presentation Foundation User Education
XAML FlowDocument to HTML Conversion Prototype
Posted
over 7 years ago
by
wcsdkteam
10
Comments
XAML FlowDocuments and HTML have some things in common. But they also have some distinct differences that makes writing a conversion utility tricky. A well written XSLT could potentially process XHTML input and generate FlowDocument content... But this...
Windows Presentation Foundation User Education
Defining and Using Shared Resources in a Custom Control Library
Posted
over 6 years ago
by
wcsdkteam
4
Comments
The question about how to define and use shared resources in a custom library has come up a couple times lately and after much discussion with the developer (thanks Varsha), here is the answer. When an application looks for a resource, it looks...
Windows Presentation Foundation User Education
Centering WPF Windows with WPF and Non-WPF Owner Windows
Posted
over 6 years ago
by
wcsdkteam
2
Comments
This post demonstrates how to manually center a window with respect to both a WPF and non-WPF owner window. Centering a Window with a WPF Owner Window To center a window over another window in WPF, you need to do two things. First, you need to set...
Windows Presentation Foundation User Education
Uncommon Dialogs: Font Chooser & Color Picker Dialogs
Posted
over 7 years ago
by
wcsdkteam
7
Comments
You may have noticed that WPF does not contain some of the standard common dialogs you've come to expect in Win32 API sets. For example, the Win32 Common Dialog Box Library contains a standard user-interface model for dialogs, such as Open, Print, Color...
Windows Presentation Foundation User Education
Maximizing WPF 3D Performance on Tier-2 Hardware
Posted
over 6 years ago
by
wcsdkteam
9
Comments
Members of the WPF 3D team have provided a list of 3D classes and properties with performance implications, along with recommendations for optimizing performance when you use them....
Windows Presentation Foundation User Education
WPF WebBrowser Control Sample
Posted
over 5 years ago
by
wcsdkteam
2
Comments
Want to learn how to host web content in WPF, load Word Docs into WPF, etc? How about calling HTML script and Word from WPF and vice versa? Attached is a simple sample that demonstrates using the WebBrowser control to host content. Specifically, it shows...
Windows Presentation Foundation User Education
Displaying Enum Values using Data Binding
Posted
over 6 years ago
by
wcsdkteam
4
Comments
Some of the FAQs about data binding are: • How do I bind to a method? • How do I bind between instantiated controls? • How do I bind an ItemsControl to an enum? I put together a quick sample that should answer the above questions: < Window...
Windows Presentation Foundation User Education
Wha' happened? Property-changed detection mechanisms in WPF (Part One)
Posted
over 6 years ago
by
wcsdkteam
6
Comments
Introduction Windows Presentation Foundation features quite a variety of different mechanisms that provide notifications of when a property changes its value. These mechanisms come from several different feature areas: from data binding, from the WPF...
Windows Presentation Foundation User Education
Best Practices for Globalization and Localization in WPF
Posted
over 7 years ago
by
wcsdkteam
9
Comments
You can make the most of the globalization and localization functionality that is built into Windows Presentation Foundation by following the UI design and localization-related tips that this section provides. Best Practices for WPF UI Design When...
Windows Presentation Foundation User Education
WPF: Using Bitmap Effects to create drop shadows, outer glows, etc.
Posted
over 6 years ago
by
wcsdkteam
0
Comments
In WPF, there are a number of effects you can add on top of UI like drop shadows, glows, blurs and more using Bitmap Effects. Adding Bitmap Effects is VERY easy. Below is an example of a drop shadow bitmap effect applied to a button. The image above...
Windows Presentation Foundation User Education
How do I programmatically interact with template-generated elements? Part I
Posted
over 6 years ago
by
wcsdkteam
12
Comments
You may have a scenario that requires you to find an element within a ControlTemplate. To do that, you use Template.FindName. Say you have a simple ControlTemplate for a Button, like the following: < Style TargetType = " {x:Type Button...
Windows Presentation Foundation User Education
A DataGrid sample using XML data
Posted
over 5 years ago
by
Margaret Parsons [MSFT]
2
Comments
I love LINQ, so I'm on a mission to use it in as many samples as possible. This one is pretty trivial but it took me a bit to put together all the pieces of loading up the xml file to getting the binding to recognize the correct attributes. Finally I...
Windows Presentation Foundation User Education
The VisualStateManager and Triggers
Posted
over 4 years ago
by
Carole Snyder - MSFT
4
Comments
Silverlight introduced the Visual State Manager, which makes it easier for control template authors to specify the appearance of a control depending on its visual state. The WPF Toolkit ships a Visual State Manager, and the next version of WPF will include...
Windows Presentation Foundation User Education
WPF Animations Tips and Tricks
Posted
over 6 years ago
by
wcsdkteam
1
Comments
Although WPF animations are easy ( see earlier post ), that doesn't mean there aren't some tricky areas of animations you should be aware of. The WPF animation team and SDK just created a list of tips and tricks for working with animations that we will...
Windows Presentation Foundation User Education
Creating XAML Drawing Images with Graphic Designer
Posted
over 7 years ago
by
wcsdkteam
2
Comments
Shows how to generate XAML DrawingImage objects from Graphic Designer using the XAML Export feature. The exported XAML drawing content is then used in several examples as XAML ResourceDictionary objects....
Windows Presentation Foundation User Education
Animating Traffic Map Image Data
Posted
over 7 years ago
by
wcsdkteam
5
Comments
WPF provides a rich assortment of features that allow you to create compelling data visualization applications. This posting shows how you can take static image data and display it at defined intervals, in order to create an animation-like effect. ...
Page 1 of 7 (171 items)
1
2
3
4
5
»