Class
DoubleLineDecoration

Represents a double line decoration that can be applied to text.

Definition

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

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

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

Inheritance: objectDoubleLineDecoration

Implements: IDecorationUIProviderIUnderlineUIDecorationProvider

Constructors

DoubleLineDecoration()

Declaration

cs-api-definition
public DoubleLineDecoration()

Methods

CreateDecorationUI(RectangleF, Color)

Creates a user interface representation of a double line decoration.

Declaration

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

Parameters

currentRectangle

RectangleF

The rectangle that defines the area where the decoration will be applied.

color

Color

The color of the double line decoration.

Returns

UIElement

A UI element representing the double line decoration.

Implements IDecorationUIProvider.CreateDecorationUI(RectangleF, Color)

ToString()

Returns a string representation of the DoubleLineDecoration instance.

Declaration

cs-api-definition
public override string ToString()

Returns

string

A string that represents the current DoubleLineDecoration instance.

Overrides object.ToString()