LineDecoration
Represents a line decoration provider in the Telerik UI framework.
Definition
Namespace:Telerik.Windows.Documents.UI.TextDecorations.DecorationProviders
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class LineDecoration : IUnderlineUIDecorationProvider, IDecorationUIProvider
Inheritance: objectLineDecoration
Implements:
Constructors
public LineDecoration()
public LineDecoration(DoubleCollection strokeDashArray)
Properties
StrokeDashArray
DoubleCollection
Gets or sets the stroke dash array for the LineDecoration.
public DoubleCollection StrokeDashArray { get; }
Methods
Creates a decoration user interface based on the specified rectangle and color.
public UIElement CreateDecorationUI(RectangleF currentRectangle, Color color)
The rectangle that defines the area for the decoration.
colorColorThe color to be used for the decoration.
Returns:UIElement
A user interface element representing the decoration.
Implements:
Returns a hash code for the current instance of the LineDecoration.
public override int GetHashCode()
A 32-bit signed integer that is the hash code for the current instance.
Overrides:
Returns a string representation of the current LineDecoration instance.
public override string ToString()
A string that represents the current LineDecoration.
Overrides: