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:
public class ThickLineDecoration : IUnderlineUIDecorationProvider, IDecorationUIProvider
Inheritance: objectThickLineDecoration
Implements:
Constructors
public ThickLineDecoration()
public ThickLineDecoration(DoubleCollection strokeDashArray)
Properties
StrokeDashArray
DoubleCollection
Gets or sets the stroke dash array for the ThickLineDecoration.
public DoubleCollection StrokeDashArray { get; }
An array of Single values that specifies the lengths of alternating dashes and gaps for the stroke.
Methods
Creates the UI representation for a thick line decoration using the specified rectangle and color.
public UIElement CreateDecorationUI(RectangleF currentRectangle, Color color)
The rectangle defining the size and position of the thick line decoration.
colorColorThe color of the thick line decoration.
Returns:UIElement
An object representing the UI for the thick line decoration.
Implements:
Returns a string representation of the ThickLineDecoration instance.
public override string ToString()
A string that represents the current ThickLineDecoration object.
Overrides: