Class WaveDecoration
Represents the wave decoration provider used for text styling in UI documents.
Inheritance
Namespace: Telerik.Windows.Documents.UI.TextDecorations.DecorationProviders
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class WaveDecoration : Object, IUnderlineUIDecorationProvider, IDecorationUIProvider, IDecorationInfoProvider
Constructors
WaveDecoration()
Declaration
public WaveDecoration()
Methods
CreateDecorationUI(RectangleF, Color)
Creates a user interface element for a wave decoration based on the specified dimensions and color.
Declaration
public UIElement CreateDecorationUI(RectangleF currentRectangle, Color color)
Parameters
RectangleF
currentRectangle
The dimensions of the rectangle in which the decoration will be created. |
System.Windows.Media.Color
color
The color of the wave decoration. |
Returns
System.Windows.UIElement
A UI element representing the wave decoration. |
Implements
ToString()
Returns a string representation of the WaveDecoration instance.
Declaration
public override string ToString()
Returns
System.String
A string that represents the current WaveDecoration instance. |