ControlMarkupExtensions.StyleName<T> method
Sets the named style key, resolved from the nearest StyleSheet up the tree and taking priority over StyleSheet type rules and the theme style.
public static T StyleName<T>(this T target, string? value) where T : Control| parameter | description |
|---|---|
| T | Receiver type. |
| target | Target Control. |
| value | Value assigned to StyleName. |
Return Value
Section titled “Return Value”The same element for chaining.
Sets: Control.StyleName
See Also
Section titled “See Also”- class Control
- class ControlMarkupExtensions
- namespace Aprillz.MewUI.Controls