ControlExtensions.Italic method (1 of 2)
Sets the font style to italic, or back to upright.
public static TextBlock Italic(this TextBlock textBlock, bool italic = true)| parameter | description |
|---|---|
| textBlock | Target text block. |
| italic | Whether to use the family’s italic face. |
Return Value
Section titled “Return Value”The text block for chaining.
See Also
Section titled “See Also”- class TextBlock
- class ControlExtensions
- namespace Aprillz.MewUI.Controls
ControlExtensions.Italic<T> method (2 of 2)
Section titled “ControlExtensions.Italic<T> method (2 of 2)”Sets the font style to italic, or back to upright.
public static T Italic<T>(this T control, bool italic = true) where T : Control| parameter | description |
|---|---|
| T | Control type. |
| control | Target control. |
| italic | Whether to use the family’s italic face. |
Return Value
Section titled “Return Value”The control for chaining.
See Also
Section titled “See Also”- class Control
- class ControlExtensions
- namespace Aprillz.MewUI.Controls