Files
docs-desktop/dotnet-desktop-guide/framework/wpf/advanced/resources-wpf.md
T
Andy (Steve) De George e9fcf43083 Merge pull request #1135 from dotnet/adegeo-links
Correct .NET Framework links that pointed to old .NET 5 URLs
2021-08-11 12:04:34 -07:00

31 lines
1.2 KiB
Markdown

---
title: "Resources"
ms.date: "03/30/2017"
f1_keywords:
- "AutoGeneratedOrientationPage"
helpviewer_keywords:
- "reusing resources [WPF]"
- "resources [WPF]"
- "reusing commonly defined objects [WPF]"
ms.assetid: 12ae4b67-cd0c-4c4d-a188-2c3de173bbb9
---
# Resources (WPF)
A resource is an object that can be reused in different places in your application. WPF supports different types of resources. These resources are primarily two types of resources: XAML resources and resource data files. Examples of XAML resources include brushes and styles. Resource data files are non-executable data files that an application needs.
## In This Section
[XAML Resources](/dotnet/desktop-wpf/fundamentals/xaml-resources-define)
[WPF Application Resource, Content, and Data Files](../app-development/wpf-application-resource-content-and-data-files.md)
[Pack URIs in WPF](../app-development/pack-uris-in-wpf.md)
## Reference
<xref:System.Windows.ResourceDictionary>
[StaticResource Markup Extension](staticresource-markup-extension.md)
[DynamicResource Markup Extension](dynamicresource-markup-extension.md)
[x:Key Directive](/dotnet/desktop/xaml-services/xkey-directive)
## Related Sections
[XAML in WPF](xaml-in-wpf.md)