Export (0) Print
Expand All

Using Resources

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Windows Presentation Foundation (WPF) resources provide a simple way to reuse commonly defined objects and values.

How to: Embed an Icon in an Assembly

Describes how to integrate resources, such as icons, into your WPF application by using the WPF Designer.

How to: Retrieve Resources in Code

Describes how to retrieve resources by using FrameworkElement methods and properties.

How to: Create a New WPF Resource

Describes how to create resources, such as brushes and images, in your WPF application.

How to: Extract a WPF Resource

Describes how to use the Properties window to extract resources into reusable XAML.

Walkthrough: Managing Resources in Your WPF Project

Describes how to add, use, and navigate resources in your WPF project.

Toolbox Icons

Describes how to name your Toolbox icons and how to include them as embedded resources.

Toolbox Icons in Visual Studio 2008

Describes how to name your Toolbox icons and how to include them as embedded resources in Visual Studio 2008.

Walkthrough: Creating a Custom Toolbox Icon for a Control

Describes how to create a Toolbox icon for a WPF custom control.

FindResource

Searches for a resource with the specified key, and raises an exception if the requested resource is not found.

Resources

Gets or sets the locally-defined resource dictionary.

Resources (WPF)

Contains links to topics that describe how to use resources as a simple way to reuse commonly defined objects and values.

XAML in WPF

Describes how to use XAML markup to define your WPF controls and applications.

Show:
© 2014 Microsoft