Logical resources in WPF are the objects that can be shared and reused across some part of a Visual Tree or an entire application. These can be colors, brushes, geometrics, styles, or any other .NET objects (int, string, List<T>, T, and more) defined by the .NET Framework or developer. These objects are typically placed inside a ResourceDictionary.
In this recipe, we will learn how to use logical resources using the binding key StaticResource.