menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IAnnotation - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IAnnotation

    Represents the interface which contains the default properties for AnnotationEditorViewModel class.

    Namespace: Syncfusion.UI.Xaml.Diagram.Controls
    Assembly: Syncfusion.SfDiagram.WPF.dll
    Syntax
    public interface IAnnotation

    Properties

    AnnotationRelativeMode

    Gets or sets the relative mode value of the annotation.

    Declaration
    AnnotationRelativeMode AnnotationRelativeMode { get; set; }
    Property Value
    Type
    AnnotationRelativeMode

    Background

    Gets or sets background color of the annotation.

    Declaration
    Brush Background { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush

    Constraints

    Gets or sets the constraints value to the Annotations.

    Declaration
    AnnotationConstraints Constraints { get; set; }
    Property Value
    Type
    AnnotationConstraints

    Content

    Gets or sets the content value to the annotation.

    Declaration
    object Content { get; set; }
    Property Value
    Type
    System.Object

    Displacement

    Gets or sets the displacement value to the Annotation over the Connector path (Absolute).

    Declaration
    double Displacement { get; set; }
    Property Value
    Type
    System.Double

    DragLimit

    Gets or sets the dragging limit value of the annotation.

    Declaration
    Thickness DragLimit { get; set; }
    Property Value
    Type
    System.Windows.Thickness

    EditTemplate

    Gets or sets the template value to the annotation when it is in editing mode.

    Declaration
    DataTemplate EditTemplate { get; set; }
    Property Value
    Type
    System.Windows.DataTemplate

    FontFamily

    Gets or sets font family of the annotation.

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

    FontSize

    Gets or sets the font size value of the annotation.

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

    FontStyle

    Gets or sets the font style value of the annotation.

    Declaration
    FontStyle FontStyle { get; set; }
    Property Value
    Type
    System.Windows.FontStyle

    FontWeight

    Gets or sets the font weight value of the annotation.

    Declaration
    FontWeight FontWeight { get; set; }
    Property Value
    Type
    System.Windows.FontWeight

    Foreground

    Gets or sets the foregorund color value of the annotation.

    Declaration
    Brush Foreground { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush

    LabelWidth

    Gets or sets the width value of the annotation .

    Declaration
    double LabelWidth { get; set; }
    Property Value
    Type
    System.Double

    Length

    Gets or sets the position of the Annotation over the Connector path in fraction.

    Declaration
    double Length { get; set; }
    Property Value
    Type
    System.Double

    Margin

    Gets or sets the margin value to the annotation.

    Declaration
    Thickness Margin { get; set; }
    Property Value
    Type
    System.Windows.Thickness

    Mode

    Gets or sets the value that indicates the annotation in in view or edit mode.

    Declaration
    ContentEditorMode Mode { get; set; }
    Property Value
    Type
    ContentEditorMode

    Offset

    Gets or sets the position value of the annotation.

    Declaration
    Point Offset { get; set; }
    Property Value
    Type
    System.Windows.Point

    Pivot

    Gets or sets the pivot value of the annotation.

    Declaration
    Point Pivot { get; set; }
    Property Value
    Type
    System.Windows.Point

    ReadOnly

    Gets or sets the value indication whether the annotation can edit or not.

    Declaration
    bool ReadOnly { get; set; }
    Property Value
    Type
    System.Boolean

    RotateAngle

    Gets or sets the rotation angle value of the annotation.

    Declaration
    double RotateAngle { get; set; }
    Property Value
    Type
    System.Double

    RotationReference

    Gets or sets the rotation reference value of the annotation.

    Declaration
    RotationReference RotationReference { get; set; }
    Property Value
    Type
    RotationReference

    TextDecorations

    Gets or sets text decorations value of the annotation.

    Declaration
    TextDecorationCollection TextDecorations { get; set; }
    Property Value
    Type
    System.Windows.TextDecorationCollection

    TextHorizontalAlignment

    Gets or sets the horizontal alignment value of the annotation.

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

    TextTrimming

    Gets or sets the text trimming value of the annotation.

    Declaration
    TextTrimming TextTrimming { get; set; }
    Property Value
    Type
    System.Windows.TextTrimming

    TextVerticalAlignment

    Gets or sets the vertical alignment value of the annotation.

    Declaration
    VerticalAlignment TextVerticalAlignment { get; set; }
    Property Value
    Type
    System.Windows.VerticalAlignment

    UnitHeight

    Gets or sets the height value of the annotation.

    Declaration
    double UnitHeight { get; set; }
    Property Value
    Type
    System.Double

    UnitWidth

    Gets or sets the width value of the annotation.

    Declaration
    double UnitWidth { get; set; }
    Property Value
    Type
    System.Double

    ViewTemplate

    Gets or sets the template value to the annotation when it is in view mode.

    Declaration
    DataTemplate ViewTemplate { get; set; }
    Property Value
    Type
    System.Windows.DataTemplate

    WrapText

    Gets or sets the text wrapping value to the annotation.

    Declaration
    TextWrapping WrapText { get; set; }
    Property Value
    Type
    System.Windows.TextWrapping
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved