Class
ThickLineDecoration

Represents a thick line decoration that can be applied to text in the UI.

Definition

Namespace:Telerik.Windows.Documents.UI.TextDecorations.DecorationProviders

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class ThickLineDecoration : IUnderlineUIDecorationProvider, IDecorationUIProvider

Inheritance: objectThickLineDecoration

Implements: IDecorationUIProviderIUnderlineUIDecorationProvider

Constructors

ThickLineDecoration()

Declaration

cs-api-definition
public ThickLineDecoration()

ThickLineDecoration(DoubleCollection)

Declaration

cs-api-definition
public ThickLineDecoration(DoubleCollection strokeDashArray)

Parameters

strokeDashArray

DoubleCollection

Properties

StrokeDashArray

Gets or sets the stroke dash array for the ThickLineDecoration.

Declaration

cs-api-definition
public DoubleCollection StrokeDashArray { get; }

Property Value

DoubleCollection

An array of Single values that specifies the lengths of alternating dashes and gaps for the stroke.

Methods

CreateDecorationUI(RectangleF, Color)

Creates the UI representation for a thick line decoration using the specified rectangle and color.

Declaration

cs-api-definition
public UIElement CreateDecorationUI(RectangleF currentRectangle, Color color)

Parameters

currentRectangle

RectangleF

The rectangle defining the size and position of the thick line decoration.

color

Color

The color of the thick line decoration.

Returns

UIElement

An object representing the UI for the thick line decoration.

Implements IDecorationUIProvider.CreateDecorationUI(RectangleF, Color)

ToString()

Returns a string representation of the ThickLineDecoration instance.

Declaration

cs-api-definition
public override string ToString()

Returns

string

A string that represents the current ThickLineDecoration object.

Overrides object.ToString()