Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Features   (RSS)

Interactive 2D Controls on 3D Surfaces in WPF

One of the really cool features of WPF is its ability to place 2D content on 3D surfaces. For example, you can place a button control on a sphere or arrange images on a cube. However, w ith V1 of WPF, you couldn't interact with this 2D content. You could
Posted by wcsdkteam | 0 Comments

Using Text as a Decorative Element: the Outline Text Custom Control

The FormattedText object provides greater text formatting features than standard WPF text controls, and can be useful in cases where you want to use text as a decorative element. This posting shows how to use the FormattedText object to create striking
Posted by wcsdkteam | 2 Comments
Filed under: ,

Attachment(s): OutlineTextControlViewer.zip

Styles and Templates - How's everything related?

People who are new to the platform often have these questions about styles and templates (and a related concept, resources): What is a Resource? In the simplest terms, a resource is a reusable object. For example, the following SolidColorBrush is declared

Uncommon Dialogs: Font Chooser & Color Picker Dialogs

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,
Posted by wcsdkteam | 3 Comments
Filed under:

Attachment(s): ColorPickerCustomControl.zip

Control.Background does what?

Inheriting from Control in WPF is rather different than it is in Windows Forms. If you want to create your own Control, you need to understand the ControlTemplate. Here's a basic, get-your-toes-wet look at what a template is and why your control needs one.
Posted by wcsdkteam | 1 Comments
Filed under:

WPF Basic Data Binding FAQ

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 is target
Posted by wcsdkteam | 5 Comments
Filed under: , ,

Controlling z-order using the ZIndex Property

Shows how to use the ZIndex attached property to change the z-order of child objects in a Panel-derived class collection.
Posted by wcsdkteam | 2 Comments
Filed under:

Animating XAML Clip Art - Part 2

The WPF Animation Team created this cool red bouncing ball. Thanks Ed! When the ball hits the bottom of the canvas it flattens slightly before bouncing upwards. The Animating XAML Clip Art posting shows you how to creating a bouncing effect (without the
Posted by wcsdkteam | 0 Comments
Filed under:

Attachment(s): RedBouncingBall.xaml

XAML FlowDocument to HTML Conversion Prototype

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
Posted by wcsdkteam | 4 Comments
Filed under:

Attachment(s): html2flow.zip

Animating XAML Clip Art

Shows how to add key-frame animation to XAML clip art. Uses splined interpolation to create a more realistic acceleration and deceleration effect.
Posted by wcsdkteam | 2 Comments
Filed under:

Attachment(s): Skippy.zip

Using Speech Synthesis in a WPF Application

Shows how to enable simple speech synthesis in a WPF application, using objects in the System.Speech.Synthesis namespace. Demonstrates how to play back speech, as well as control the volume and playback rate of speech.
Posted by wcsdkteam | 1 Comments
Filed under:
 
Page view tracker