ClassThickLineDecoration
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:
public class ThickLineDecoration : IUnderlineUIDecorationProvider, IDecorationUIProvider
Inheritance: objectThickLineDecoration
Implements:
Constructors
ThickLineDecoration()
Declaration
public ThickLineDecoration()
ThickLineDecoration(DoubleCollection)
Declaration
public ThickLineDecoration(DoubleCollection strokeDashArray)
Parameters
strokeDashArray
DoubleCollection
Properties
StrokeDashArray
Gets or sets the stroke dash array for the ThickLineDecoration.
Declaration
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
public UIElement CreateDecorationUI(RectangleF currentRectangle, Color color)
Parameters
currentRectangle
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
ToString()
Returns a string representation of the ThickLineDecoration instance.
Declaration
public override string ToString()
Returns
A string that represents the current ThickLineDecoration object.
Overrides