New to Telerik UI for WinFormsStart a free 30-day trial

Contains settings for text watermark.

Definition

Namespace:Telerik.WinForms.Documents.Model

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class WatermarkTextSettings : INotifyPropertyChanged

Inheritance: objectWatermarkTextSettings

Implements: INotifyPropertyChanged

Constructors

Initializes a new instance of the WatermarkTextSettings class.

C#
public WatermarkTextSettings()

Initializes a new instance of the WatermarkTextSettings class.

C#
public WatermarkTextSettings(string textToShow)
Parameters:textToShowstring

The text to be used as a watermark.

Properties

Gets or sets the font family.

C#
[XamlSerializable]
public FontFamily FontFamily { get; set; }
Property Value:

The font family.

Gets or sets the size of the font.

C#
[XamlSerializable(84)]
public double FontSize { get; set; }
Property Value:

The size of the font.

Gets or sets the color of the foreground.

C#
[XamlSerializable]
public Color ForegroundColor { get; set; }
Property Value:

The color of the foreground.

Gets or sets the opacity.

C#
[XamlSerializable(false)]
public double Opacity { get; set; }
Property Value:

The opacity.

Gets or sets the rotation angle.

C#
[XamlSerializable(0)]
public double RotateAngle { get; set; }
Property Value:

The rotate angle.

Gets or sets the text.

C#
[XamlSerializable]
public string Text { get; set; }
Property Value:

The text.

Methods

Creates a deep copy of this object.

C#
public WatermarkTextSettings CreateDeepCopy()
Returns:

WatermarkTextSettings

The copy.

Events

Occurs after a property value changes.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged