Class StyleEngine
public static class StyleEngine
- Inheritance
-
StyleEngine
- Inherited Members
Methods
Attach(Control, IEnumerable<Style>)
public static IDisposable Attach(Control root, IEnumerable<Style> styles)
Parameters
rootControlstylesIEnumerable<Style>
Returns
AttachFrom(Control, Control)
Attaches every Style found in source's resources, including merged dictionaries,
to root and makes the source's resources visible to it. A data template, item row or compiled view is its own style boundary, so styles
attached higher in the tree never reach it; calling this from the view opts it in to a shared style set.
public static IDisposable AttachFrom(Control root, Control source)