ControlExtensions.FontSize method (1 of 2)
이 콘텐츠는 아직 번역되지 않았습니다.
Sets the font size resolved once from the current theme’s ThemeMetrics; themes with per-variant metrics re-resolve by calling this inside a WithTheme callback.
public static TextBlock FontSize(this TextBlock textBlock, ThemeFontSize size)| parameter | description |
|---|---|
| textBlock | Target text block. |
| size | Theme font size step. |
Return Value
Section titled “Return Value”The text block for chaining.
Sets: TextElement.FontSize
See Also
Section titled “See Also”- class TextBlock
- enum ThemeFontSize
- class ControlExtensions
- namespace Aprillz.MewUI.Controls
ControlExtensions.FontSize<T> method (2 of 2)
Section titled “ControlExtensions.FontSize<T> method (2 of 2)”Sets the font size resolved once from the current theme’s ThemeMetrics; themes with per-variant metrics re-resolve by calling this inside a WithTheme callback.
public static T FontSize<T>(this T control, ThemeFontSize size) where T : Control| parameter | description |
|---|---|
| T | Control type. |
| control | Target control. |
| size | Theme font size step. |
Return Value
Section titled “Return Value”The control for chaining.
See Also
Section titled “See Also”- enum ThemeFontSize
- class Control
- class ControlExtensions
- namespace Aprillz.MewUI.Controls