콘텐츠로 이동

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.

The text block for chaining.


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.

The control for chaining.