WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TextSettings - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TextSettings

    Holds the settings to customize the text.

    Inheritance
    System.Object
    TextSettings
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.UI.Xaml.ImageEditor
    Assembly: Syncfusion.SfImageEditor.WPF.dll
    Syntax
    public class TextSettings : INotifyPropertyChanged

    Constructors

    TextSettings()

    Gets or sets a new instance for the TextSettings class.

    Declaration
    public TextSettings()

    Properties

    Angle

    Gets or sets the rotate angle for text.

    Declaration
    public float Angle { get; set; }
    Property Value
    Type Description
    System.Single

    Bounds

    Gets or sets bounds of the text.

    Declaration
    public Rect Bounds { get; set; }
    Property Value
    Type Description
    System.Windows.Rect

    Color

    Gets or sets the color for the text.

    Declaration
    public Brush Color { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    EnableDrag

    Gets or sets a value indicating whether text can be dragged or not.

    Declaration
    public bool EnableDrag { get; set; }
    Property Value
    Type Description
    System.Boolean

    FontFamily

    Gets or sets the font family for the text.

    Declaration
    public FontFamily FontFamily { get; set; }
    Property Value
    Type Description
    System.Windows.Media.FontFamily

    FontSize

    Gets or sets size of the text.

    Declaration
    public double FontSize { get; set; }
    Property Value
    Type Description
    System.Double

    IsEditable

    Gets or sets a value that indicates whether text is editable or not.

    Declaration
    public bool IsEditable { get; set; }
    Property Value
    Type Description
    System.Boolean

    Opacity

    Gets or sets the opacity for the text.

    Declaration
    public float Opacity { get; set; }
    Property Value
    Type Description
    System.Single

    TextAlignment

    Gets or sets the TextAlignment for the text.

    Declaration
    public TextAlignment TextAlignment { get; set; }
    Property Value
    Type Description
    System.Windows.TextAlignment

    TextEffects

    Gets or sets the TextEffects for the text.

    Declaration
    public TextEffects TextEffects { get; set; }
    Property Value
    Type Description
    TextEffects

    Methods

    OnPropertyChanged(String)

    Method gets called when the property value gets changed.

    Declaration
    protected void OnPropertyChanged(string propertyName)
    Parameters
    Type Name Description
    System.String propertyName

    The property name.

    Events

    PropertyChanged

    Raised whenever a property gets changed.

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved