StyleSheetExtensions.WithName<T> method
이 콘텐츠는 아직 번역되지 않았습니다.
Defines a type-based style rule by style name (Define) and returns the sheet for chaining.
public static StyleSheet WithName<T>(this StyleSheet sheet, string styleName) where T : Control| parameter | description |
|---|---|
| T | Target control type. |
| sheet | Target style sheet. |
| styleName | Style name to resolve. |
Return Value
Section titled “Return Value”The style sheet for chaining.
Remarks
Section titled “Remarks”The name is resolved where a control’s own StyleName is, so a rule can point at a style defined further out.
See Also
Section titled “See Also”- class StyleSheet
- class Control
- class StyleSheetExtensions
- namespace Aprillz.MewUI.Controls