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

Represents a decoration provider that indicates the absence of any line decoration.

Definition

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

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class NoneLineDecoration : IUnderlineUIDecorationProvider, IDecorationUIProvider

Inheritance: objectNoneLineDecoration

Implements: IDecorationUIProviderIUnderlineUIDecorationProvider

Constructors

C#
public NoneLineDecoration()

Methods

Creates a user interface representation for the NoneLineDecoration.

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

The rectangular area where the decoration will be applied.

colorColor

The color of the decoration.

Returns:

UIElement

A visual representation of the NoneLineDecoration.

Implements: IDecorationUIProvider.CreateDecorationUI(RectangleF, Color)