menu

WPF

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

    Show / Hide Table of Contents

    Enum AnnotationConstraints

    Specifies to enable/disable certain behaviors for Annotation.

    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.WPF.dll
    Syntax
    [Flags]
    public enum AnnotationConstraints

    Fields

    Name Description
    Default

    Enables all Annotation constraints.

    Draggable

    Enables or disables whether the annotation to be dragged.

    DragLimit

    Specifies whether annotation to be draggable

    Editable

    Enables or disables Annotation to be Edited.

    Inherit

    Enables or disables to inherit all the Dragging, Rotation,Selection,Resize and Editable from Node/Connector

    InheritDraggable

    Enables or disables to inherit the value for Draggable from Node/Connector.

    InheritEditable

    Enables or disables to inherit the value for Editable from Node/Connector.

    InheritResizable

    Enables or disables to inherit the value for Resizable from Node/Connector.

    InheritRotatable

    Enables or disables to inherit the value for Rotatable from Node/Connector.

    InheritSelectable

    Enables or disables whether the selection value should inherit from its parent.

    None

    Disables all behaviors of Annotation.

    Resizable

    Enables or disables a Annotation to be Resized.

    ResizeEast

    Enables or disables annotation to be resized east.

    ResizeNorth

    Enables or disables annotation to be resized north.

    ResizeNorthEast

    Enables or disables annotation to be resized northeast.

    ResizeNorthWest

    Enables or disables annotation to be resized northwest.

    ResizeSouth

    Enables or disables annotation to be resized south.

    ResizeSouthEast

    Enables or disables annotation to be resized southeast.

    ResizeSouthWest

    Enables or disables annotation to be resized southwest.

    ResizeWest

    Enables or disables annotation to be resized west.

    Rotatable

    Enables or disables whether the annotation to be Rotated.

    Selectable

    Enables or disables whether the annotation to be selectable.

    Extension Methods

    DiagramExtensions.Add(AnnotationConstraints[])
    DiagramExtensions.Remove(AnnotationConstraints[])
    DiagramExtensions.Toggle(AnnotationConstraints[])
    DiagramExtensions.Contains(AnnotationConstraints)
    DiagramExtensions.ContainsAll(AnnotationConstraints)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved