New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class DoubleLineDecoration : IUnderlineUIDecorationProvider, IDecorationUIProvider

Inheritance: objectDoubleLineDecoration

Implements: IDecorationUIProviderIUnderlineUIDecorationProvider

Constructors

C#
public DoubleLineDecoration()

Methods

Creates a user interface representation of a double line decoration.

C#
public UIElement CreateDecorationUI(RectangleF currentRectangle, Color color)
Parameters:currentRectangleRectangleF

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

colorColor

The color of the double line decoration.

Returns:

UIElement

A UI element representing the double line decoration.

Implements: IDecorationUIProvider.CreateDecorationUI(RectangleF, Color)

Returns a string representation of the DoubleLineDecoration instance.

C#
public override string ToString()
Returns:

string

A string that represents the current DoubleLineDecoration instance.

Overrides: object.ToString()