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