Class ThickLineDecoration
Represents a thick line decoration that can be applied to text in the UI.
Inheritance
Namespace: Telerik.Windows.Documents.UI.TextDecorations.DecorationProviders
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class ThickLineDecoration : Object, IUnderlineUIDecorationProvider, IDecorationUIProvider, IDecorationInfoProvider
Constructors
ThickLineDecoration()
Declaration
public ThickLineDecoration()
ThickLineDecoration(DoubleCollection)
Declaration
public ThickLineDecoration(DoubleCollection strokeDashArray)
Parameters
System.Windows.Media.DoubleCollection
strokeDashArray
|
Properties
StrokeDashArray
Gets or sets the stroke dash array for the ThickLineDecoration.
Declaration
public DoubleCollection StrokeDashArray { get; }
Property Value
System.Windows.Media.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
RectangleF
currentRectangle
The rectangle defining the size and position of the thick line decoration. |
System.Windows.Media.Color
color
The color of the thick line decoration. |
Returns
System.Windows.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
System.String
A string that represents the current ThickLineDecoration object. |