WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Enum StencilConstraints

    Show / Hide Table of Contents

    Enum StencilConstraints

    Specifies to enable/disable certain behavior of Stencil.

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

    Fields

    Name Description
    AllowDragDrop

    Speficies a value that allows to drag-and-drop the symbols within the Syncfusion.UI.Xaml.Diagram.Stencil.

    ContextMenu

    Enables or disables the context menu.

    Default

    Enables or Disables the filtering and GroupExpanded of Symbols.

    Filters

    Enables or Disables the filtering of Symbols.

    GroupExpanded

    Enables or Disables the GroupExpanded of Symbols.

    None

    Disables all the behavior for StencilConstraints.

    ShowPreview

    Enables or Disables the drag and drop preview. Defines the preview for drag an item from Stencil to Diagram, a preview of the dragged item will be displayed.

    Extension Methods

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