Table of Contents

Class TextFragmentData

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

Represent data for particular text fragment.

public sealed class TextFragmentData
Inheritance
TextFragmentData

Constructors

TextFragmentData(int, int, double, Brush, Brush, string, Typeface)

Initializes a new instance of the TextFragmentData class with specified parameters.

Properties

Background

Gets or sets brash to paint background of the text fragment.

Foreground

Gets or sets brash to paint foreground of the text fragment.

IsStrikethrough

Gets or sets a boolean value indicating whether text fragment is strikeout.

IsUnderline

Gets or sets a boolean value indicating whether text fragment is underlined.

OverrideText

Gets or sets text should be displayed instead of original text.

TextLength

Gets or sets text length of the fragment.

TextStartIndex

Gets or sets start text index of the fragment.

TextWidth

Gets or sets text width of the fragment.

Typeface

Gets or sets Typeface describes the text fragment.