StyleExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Helper class for setting a ResourceDictionary on a Style.
public static class StyleExtensions
type StyleExtensions = class
Public Class StyleExtensions
- Inheritance
-
StyleExtensions
Remarks
Adapted from https://github.com/rudyhuyn/XamlPlus
Fields
| Name | Description |
|---|---|
| ResourcesProperty |
Attached property to set a Style to a ResourceDictionary value. |
Attached Properties
| Name | Description |
|---|---|
| Resources | |
Methods
| Name | Description |
|---|---|
| GetResources(Style) |
Get a ResourceDictionary from a Style. |
| SetResources(Style, ResourceDictionary) |
Set the ResourcesProperty on a Style to a ResourceDictionary value. |