--- 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 [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)