A style is a collection of property settings applied to one or more instances of a control to provide a better look across the application. It is possible to customize your UWP application experience by styling the XAML controls but to apply the style, the target object must be a DependencyObject and the target property must be a DependencyProperty.
You can set styles for individual controls, page-level controls, application-level controls, or shared between multiple applications running across devices.
You need to define the style under the Resources property. When you define the style inline to a control, it will be available only within the context of the control. When you move that style to its parent layout, it will be available within the context of the panel, for that type of control that you defined. Similarly, if you move the...