TimedTextStyle TimedTextStyle TimedTextStyle TimedTextStyle TimedTextStyle Class


Defines the style of the rendered text in a TimedTextCue. You can set the style of a substring within a TimedTextLine by using the Subformats property.

public : sealed class TimedTextStyle
struct winrt::Windows::Media::Core::TimedTextStyle
public sealed class TimedTextStyle
Public NotInheritable Class TimedTextStyle
var timedTextStyle = new timedTextStyle();

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Version history

Windows version SDK version Value added
1703 15063 FontStyle
1703 15063 IsLineThroughEnabled
1703 15063 IsOverlineEnabled
1703 15063 IsUnderlineEnabled


TimedTextStyle() TimedTextStyle() TimedTextStyle() TimedTextStyle() TimedTextStyle()

Initializes a new instance of the TimedTextStyle class.


Background Background Background Background Background

Gets or sets the background color of timed text.

FlowDirection FlowDirection FlowDirection FlowDirection FlowDirection

Gets or sets a value indicating the direction that timed text is flowed.

FontFamily FontFamily FontFamily FontFamily FontFamily

Gets or sets the font family of timed text.

FontSize FontSize FontSize FontSize FontSize

Gets or sets the font size of timed text.

FontStyle FontStyle FontStyle FontStyle FontStyle

Gets or sets a value that specifies the font style of timed text.

FontWeight FontWeight FontWeight FontWeight FontWeight

Gets or sets the weight of timed text.

Foreground Foreground Foreground Foreground Foreground

Gets or sets the color of the timed text glyphs.

IsBackgroundAlwaysShown IsBackgroundAlwaysShown IsBackgroundAlwaysShown IsBackgroundAlwaysShown IsBackgroundAlwaysShown

Gets or sets a value indicating if the background color stays visible when no text is being displayed.

IsLineThroughEnabled IsLineThroughEnabled IsLineThroughEnabled IsLineThroughEnabled IsLineThroughEnabled

Gets or sets a value indicating whether strikethrough text is enabled for the timed text.

IsOverlineEnabled IsOverlineEnabled IsOverlineEnabled IsOverlineEnabled IsOverlineEnabled

Gets or sets a value indicating whether overline text is enabled for the timed text.

IsUnderlineEnabled IsUnderlineEnabled IsUnderlineEnabled IsUnderlineEnabled IsUnderlineEnabled

Gets or sets a value indicating whether underline text is enabled for the timed text.

LineAlignment LineAlignment LineAlignment LineAlignment LineAlignment

Gets or sets the alignment of timed text lines.

Name Name Name Name Name

Gets or sets the name of the timed text style.

OutlineColor OutlineColor OutlineColor OutlineColor OutlineColor

Gets or sets the outline color of timed text.

OutlineRadius OutlineRadius OutlineRadius OutlineRadius OutlineRadius

Gets or sets the radius of the blur applied to outline of the timed text.

OutlineThickness OutlineThickness OutlineThickness OutlineThickness OutlineThickness

Gets or sets the thickness of the outline of the timed text.

See also