Language
Edit

StyleExtensions Class

Definition

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.

Applies to