ClassLineDecoration
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
LineDecoration()
Declaration
public LineDecoration()
LineDecoration(DoubleCollection)
Declaration
public LineDecoration(DoubleCollection strokeDashArray)
Parameters
strokeDashArray
DoubleCollection
Properties
StrokeDashArray
Gets or sets the stroke dash array for the LineDecoration.
Declaration
public DoubleCollection StrokeDashArray { get; }
Property Value
DoubleCollection
Methods
CreateDecorationUI(RectangleF, Color)
Creates a decoration user interface based on the specified rectangle and color.
Declaration
public UIElement CreateDecorationUI(RectangleF currentRectangle, Color color)
Parameters
currentRectangle
The rectangle that defines the area for the decoration.
color
Color
The color to be used for the decoration.
Returns
UIElement
A user interface element representing the decoration.
Implements
Equals(object)
Determines whether the specified object is equal to the current instance.
GetHashCode()
Returns a hash code for the current instance of the LineDecoration.
Declaration
public override int GetHashCode()
Returns
A 32-bit signed integer that is the hash code for the current instance.
Overrides
ToString()
Returns a string representation of the current LineDecoration instance.
Declaration
public override string ToString()
Returns
A string that represents the current LineDecoration.
Overrides