menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DiagramExtensions - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DiagramExtensions

    Represensts a class to create add or remove extensions for the constraints of a diagram control.

    Inheritance
    System.Object
    DiagramExtensions
    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.UWP.dll
    Syntax
    public static class DiagramExtensions : Object

    Methods

    Add(AnnotationConstraints, AnnotationConstraints[])

    Extension method to add AnnotationConstraints

    Declaration
    public static AnnotationConstraints Add(this AnnotationConstraints annotation, params AnnotationConstraints[] constraints)
    Parameters
    Type Name Description
    AnnotationConstraints annotation
    AnnotationConstraints[] constraints
    Returns
    Type
    AnnotationConstraints

    Add(ConnectorConstraints, ConnectorConstraints[])

    Extension method to add ConnectorConstraints

    Declaration
    public static ConnectorConstraints Add(this ConnectorConstraints connector, params ConnectorConstraints[] constraints)
    Parameters
    Type Name Description
    ConnectorConstraints connector
    ConnectorConstraints[] constraints
    Returns
    Type
    ConnectorConstraints

    Add(ResizeConstraints, ResizeConstraints)

    Extension method to add ResizeConstraints

    Declaration
    public static ResizeConstraints Add(this ResizeConstraints resize, ResizeConstraints constraints)
    Parameters
    Type Name Description
    ResizeConstraints resize
    ResizeConstraints constraints
    Returns
    Type
    ResizeConstraints

    Add(GraphConstraints, GraphConstraints[])

    Extension method to add Graph Constraints.

    Declaration
    public static GraphConstraints Add(this GraphConstraints graph, params GraphConstraints[] constraints)
    Parameters
    Type Name Description
    GraphConstraints graph

    Gets graph value.

    GraphConstraints[] constraints

    Gets constraints value.

    Returns
    Type
    GraphConstraints

    Add(NodeConstraints, NodeConstraints[])

    Extension method to add Node Constraints.

    Declaration
    public static NodeConstraints Add(this NodeConstraints node, params NodeConstraints[] constraints)
    Parameters
    Type Name Description
    NodeConstraints node

    Gets node constraints.

    NodeConstraints[] constraints
    Returns
    Type
    NodeConstraints

    Add(OverviewConstraints, OverviewConstraints[])

    Extension method to add OverviewConstraints

    Declaration
    public static OverviewConstraints Add(this OverviewConstraints overview, params OverviewConstraints[] constraints)
    Parameters
    Type Name Description
    OverviewConstraints overview
    OverviewConstraints[] constraints
    Returns
    Type
    OverviewConstraints

    Add(PortConstraints, PortConstraints[])

    Extension method to add PortConstraints

    Declaration
    public static PortConstraints Add(this PortConstraints port, params PortConstraints[] constraints)
    Parameters
    Type Name Description
    PortConstraints port
    PortConstraints[] constraints
    Returns
    Type
    PortConstraints

    Add(SegmentConstraints, SegmentConstraints)

    Extension method to add SegmentConstraints

    Declaration
    public static SegmentConstraints Add(this SegmentConstraints segment, SegmentConstraints constraints)
    Parameters
    Type Name Description
    SegmentConstraints segment
    SegmentConstraints constraints
    Returns
    Type
    SegmentConstraints

    Add(SelectorConstraints, SelectorConstraints[])

    Extension method to add SelectorConstraints

    Declaration
    public static SelectorConstraints Add(this SelectorConstraints selector, params SelectorConstraints[] constraints)
    Parameters
    Type Name Description
    SelectorConstraints selector
    SelectorConstraints[] constraints
    Returns
    Type
    SelectorConstraints

    Add(SnapConstraints, SnapConstraints[])

    Extension method to add SnapConstraints

    Declaration
    public static SnapConstraints Add(this SnapConstraints snap, params SnapConstraints[] constraints)
    Parameters
    Type Name Description
    SnapConstraints snap
    SnapConstraints[] constraints
    Returns
    Type
    SnapConstraints

    Add(StencilConstraints, StencilConstraints[])

    Extension method to add StencilConstraints

    Declaration
    public static StencilConstraints Add(this StencilConstraints stencil, params StencilConstraints[] constraints)
    Parameters
    Type Name Description
    StencilConstraints stencil
    StencilConstraints[] constraints
    Returns
    Type
    StencilConstraints

    Add(ToolTipConstraints, ToolTipConstraints[])

    Extension method to add ToolTipConstraints

    Declaration
    public static ToolTipConstraints Add(this ToolTipConstraints tooltip, params ToolTipConstraints[] constraints)
    Parameters
    Type Name Description
    ToolTipConstraints tooltip
    ToolTipConstraints[] constraints
    Returns
    Type
    ToolTipConstraints

    Contains(AnnotationConstraints, AnnotationConstraints)

    Check the given value is in AnnotationConstraints

    Declaration
    public static bool Contains(this AnnotationConstraints annotation, AnnotationConstraints constraint)
    Parameters
    Type Name Description
    AnnotationConstraints annotation
    AnnotationConstraints constraint
    Returns
    Type
    System.Boolean

    Contains(BezierSmoothness, BezierSmoothness)

    Check the given value is in BezierSmoothness

    Declaration
    public static bool Contains(this BezierSmoothness s, BezierSmoothness t)
    Parameters
    Type Name Description
    BezierSmoothness s
    BezierSmoothness t
    Returns
    Type
    System.Boolean

    Contains(ConnectorConstraints, ConnectorConstraints)

    Check the given value is in ConnectorConstraints

    Declaration
    public static bool Contains(this ConnectorConstraints connector, ConnectorConstraints constraint)
    Parameters
    Type Name Description
    ConnectorConstraints connector
    ConnectorConstraints constraint
    Returns
    Type
    System.Boolean

    Contains(ResizeConstraints, ResizeConstraints)

    Check the given value is in ResizeConstraints

    Declaration
    public static bool Contains(this ResizeConstraints resize, ResizeConstraints constraint)
    Parameters
    Type Name Description
    ResizeConstraints resize
    ResizeConstraints constraint
    Returns
    Type
    System.Boolean

    Contains(VisibilityMode, VisibilityMode)

    Check the given value is in VisibilityMode

    Declaration
    public static bool Contains(this VisibilityMode s, VisibilityMode t)
    Parameters
    Type Name Description
    VisibilityMode s
    VisibilityMode t
    Returns
    Type
    System.Boolean

    Contains(FitToPage, FitToPage)

    Check the given value is in FitToPage

    Declaration
    public static bool Contains(this FitToPage s, FitToPage t)
    Parameters
    Type Name Description
    FitToPage s
    FitToPage t
    Returns
    Type
    System.Boolean

    Contains(GraphConstraints, GraphConstraints)

    Check the given value is in Graph Constraints.

    Declaration
    public static bool Contains(this GraphConstraints graph, GraphConstraints constraint)
    Parameters
    Type Name Description
    GraphConstraints graph

    Gets graph value.

    GraphConstraints constraint
    Returns
    Type
    System.Boolean

    Contains(MultipleSelectionMode, MultipleSelectionMode)

    Check the given value is in MultipleSelectionMode

    Declaration
    public static bool Contains(this MultipleSelectionMode s, MultipleSelectionMode t)
    Parameters
    Type Name Description
    MultipleSelectionMode s
    MultipleSelectionMode t
    Returns
    Type
    System.Boolean

    Contains(NodeConstraints, NodeConstraints)

    Check the given value is in NodeConstraints

    Declaration
    public static bool Contains(this NodeConstraints node, NodeConstraints constraint)
    Parameters
    Type Name Description
    NodeConstraints node
    NodeConstraints constraint
    Returns
    Type
    System.Boolean

    Contains(OverviewConstraints, OverviewConstraints)

    Check the given value is in OverviewConstraints

    Declaration
    public static bool Contains(this OverviewConstraints overview, OverviewConstraints constraint)
    Parameters
    Type Name Description
    OverviewConstraints overview
    OverviewConstraints constraint
    Returns
    Type
    System.Boolean

    Contains(PortConstraints, PortConstraints)

    Check the given value is in PortConstraints

    Declaration
    public static bool Contains(this PortConstraints port, PortConstraints constraint)
    Parameters
    Type Name Description
    PortConstraints port
    PortConstraints constraint
    Returns
    Type
    System.Boolean

    Contains(PortVisibility, PortVisibility)

    Check the given value is in PortVisibility

    Declaration
    public static bool Contains(this PortVisibility s, PortVisibility t)
    Parameters
    Type Name Description
    PortVisibility s
    PortVisibility t
    Returns
    Type
    System.Boolean

    Contains(RefreshFrequency, RefreshFrequency)

    Check the given value is in RefreshFrequency

    Declaration
    public static bool Contains(this RefreshFrequency s, RefreshFrequency t)
    Parameters
    Type Name Description
    RefreshFrequency s
    RefreshFrequency t
    Returns
    Type
    System.Boolean

    Contains(Region, Region)

    Check the given value is in Region

    Declaration
    public static bool Contains(this Region s, Region t)
    Parameters
    Type Name Description
    Region s
    Region t
    Returns
    Type
    System.Boolean

    Contains(ResizerConstraints, ResizerConstraints)

    Check all the enum values are in the Resizer Constraints.

    Declaration
    public static bool Contains(this ResizerConstraints s, ResizerConstraints t)
    Parameters
    Type Name Description
    ResizerConstraints s

    Gets resizer constraints.

    ResizerConstraints t

    Gets resizer constraints.

    Returns
    Type Description
    System.Boolean

    Returns true, when both constraints are not null; otherwise returns false.

    Contains(SegmentConstraints, SegmentConstraints)

    Check the given value is in SegmentConstraints

    Declaration
    public static bool Contains(this SegmentConstraints segment, SegmentConstraints constraint)
    Parameters
    Type Name Description
    SegmentConstraints segment
    SegmentConstraints constraint
    Returns
    Type
    System.Boolean

    Contains(SelectorConstraints, SelectorConstraints)

    Check the given value is in SelectorConstraints

    Declaration
    public static bool Contains(this SelectorConstraints selector, SelectorConstraints constraint)
    Parameters
    Type Name Description
    SelectorConstraints selector
    SelectorConstraints constraint
    Returns
    Type
    System.Boolean

    Contains(SnapChanges, SnapChanges)

    Check the given value is in SnapChanges

    Declaration
    public static bool Contains(this SnapChanges s, SnapChanges t)
    Parameters
    Type Name Description
    SnapChanges s
    SnapChanges t
    Returns
    Type
    System.Boolean

    Contains(SnapConstraints, SnapConstraints)

    Check the given value is in SnapConstraints

    Declaration
    public static bool Contains(this SnapConstraints snap, SnapConstraints constraint)
    Parameters
    Type Name Description
    SnapConstraints snap
    SnapConstraints constraint
    Returns
    Type
    System.Boolean

    Contains(SnapReason, SnapReason)

    Check the given value is in SnapReason

    Declaration
    public static bool Contains(this SnapReason s, SnapReason t)
    Parameters
    Type Name Description
    SnapReason s
    SnapReason t
    Returns
    Type
    System.Boolean

    Contains(SnapToObject, SnapToObject)

    Check the given value is in SnapToObject

    Declaration
    public static bool Contains(this SnapToObject snapToObject, SnapToObject constraint)
    Parameters
    Type Name Description
    SnapToObject snapToObject
    SnapToObject constraint
    Returns
    Type
    System.Boolean

    Contains(StencilConstraints, StencilConstraints)

    Check the given value is in StencilConstraints

    Declaration
    public static bool Contains(this StencilConstraints stencil, StencilConstraints constraint)
    Parameters
    Type Name Description
    StencilConstraints stencil
    StencilConstraints constraint
    Returns
    Type
    System.Boolean

    Contains(Tool, Tool)

    Check the given value is in Tool

    Declaration
    public static bool Contains(this Tool s, Tool t)
    Parameters
    Type Name Description
    Tool s
    Tool t
    Returns
    Type
    System.Boolean

    Contains(ToolTipConstraints, ToolTipConstraints)

    Check the given value is in ToolTipConstraints

    Declaration
    public static bool Contains(this ToolTipConstraints tooltip, ToolTipConstraints constraint)
    Parameters
    Type Name Description
    ToolTipConstraints tooltip
    ToolTipConstraints constraint
    Returns
    Type
    System.Boolean

    ContainsAll(AnnotationConstraints, AnnotationConstraints)

    Check all the enum values are in the AnnotationConstraints

    Declaration
    public static bool ContainsAll(this AnnotationConstraints annotation, AnnotationConstraints constraint)
    Parameters
    Type Name Description
    AnnotationConstraints annotation
    AnnotationConstraints constraint
    Returns
    Type
    System.Boolean

    ContainsAll(ConnectorConstraints, ConnectorConstraints)

    Check all the enum values are in the ConnectorConstraints

    Declaration
    public static bool ContainsAll(this ConnectorConstraints connector, ConnectorConstraints constraint)
    Parameters
    Type Name Description
    ConnectorConstraints connector
    ConnectorConstraints constraint
    Returns
    Type
    System.Boolean

    ContainsAll(ResizeConstraints, ResizeConstraints)

    Check all the enum values are in the ResizeConstraints

    Declaration
    public static bool ContainsAll(this ResizeConstraints resize, ResizeConstraints constraint)
    Parameters
    Type Name Description
    ResizeConstraints resize
    ResizeConstraints constraint
    Returns
    Type
    System.Boolean

    ContainsAll(GraphConstraints, GraphConstraints)

    Check all the enum values are in the GraphConstraints

    Declaration
    public static bool ContainsAll(this GraphConstraints graph, GraphConstraints constraint)
    Parameters
    Type Name Description
    GraphConstraints graph
    GraphConstraints constraint
    Returns
    Type
    System.Boolean

    ContainsAll(NodeConstraints, NodeConstraints)

    Check all the enum values are in the NodeConstraints

    Declaration
    public static bool ContainsAll(this NodeConstraints node, NodeConstraints constraint)
    Parameters
    Type Name Description
    NodeConstraints node
    NodeConstraints constraint
    Returns
    Type
    System.Boolean

    ContainsAll(OverviewConstraints, OverviewConstraints)

    Check all the enum values are in the OverviewConstraints

    Declaration
    public static bool ContainsAll(this OverviewConstraints overview, OverviewConstraints constraint)
    Parameters
    Type Name Description
    OverviewConstraints overview
    OverviewConstraints constraint
    Returns
    Type
    System.Boolean

    ContainsAll(PortConstraints, PortConstraints)

    Check all the enum values are in the PortConstraints

    Declaration
    public static bool ContainsAll(this PortConstraints port, PortConstraints constraint)
    Parameters
    Type Name Description
    PortConstraints port
    PortConstraints constraint
    Returns
    Type
    System.Boolean

    ContainsAll(SegmentConstraints, SegmentConstraints)

    Check all the enum values are in the SegmentConstraints

    Declaration
    public static bool ContainsAll(this SegmentConstraints segment, SegmentConstraints constraint)
    Parameters
    Type Name Description
    SegmentConstraints segment
    SegmentConstraints constraint
    Returns
    Type
    System.Boolean

    ContainsAll(SelectorConstraints, SelectorConstraints)

    Check all the enum values are in the SelectorConstraints

    Declaration
    public static bool ContainsAll(this SelectorConstraints selector, SelectorConstraints constraint)
    Parameters
    Type Name Description
    SelectorConstraints selector
    SelectorConstraints constraint
    Returns
    Type
    System.Boolean

    ContainsAll(SnapConstraints, SnapConstraints)

    Check all the enum values are in the SnapConstraints

    Declaration
    public static bool ContainsAll(this SnapConstraints snap, SnapConstraints constraint)
    Parameters
    Type Name Description
    SnapConstraints snap
    SnapConstraints constraint
    Returns
    Type
    System.Boolean

    ContainsAll(StencilConstraints, StencilConstraints)

    Check all the enum values are in the StencilConstraints

    Declaration
    public static bool ContainsAll(this StencilConstraints stencil, StencilConstraints constraint)
    Parameters
    Type Name Description
    StencilConstraints stencil
    StencilConstraints constraint
    Returns
    Type
    System.Boolean

    ContainsAll(ToolTipConstraints, ToolTipConstraints)

    Check all the enum values are in the ToolTipConstraints

    Declaration
    public static bool ContainsAll(this ToolTipConstraints tooltip, ToolTipConstraints constraint)
    Parameters
    Type Name Description
    ToolTipConstraints tooltip
    ToolTipConstraints constraint
    Returns
    Type
    System.Boolean

    Remove(AnnotationConstraints, AnnotationConstraints[])

    Extension method to remove AnnotationConstraints

    Declaration
    public static AnnotationConstraints Remove(this AnnotationConstraints annotation, params AnnotationConstraints[] constraints)
    Parameters
    Type Name Description
    AnnotationConstraints annotation
    AnnotationConstraints[] constraints
    Returns
    Type
    AnnotationConstraints

    Remove(ConnectorConstraints, ConnectorConstraints[])

    Extension method to remove ConnectorConstraints

    Declaration
    public static ConnectorConstraints Remove(this ConnectorConstraints connector, params ConnectorConstraints[] constraints)
    Parameters
    Type Name Description
    ConnectorConstraints connector
    ConnectorConstraints[] constraints
    Returns
    Type
    ConnectorConstraints

    Remove(ResizeConstraints, ResizeConstraints)

    Extension method to remove ResizeConstraints

    Declaration
    public static ResizeConstraints Remove(this ResizeConstraints resize, ResizeConstraints constraints)
    Parameters
    Type Name Description
    ResizeConstraints resize
    ResizeConstraints constraints
    Returns
    Type
    ResizeConstraints

    Remove(GraphConstraints, GraphConstraints[])

    Extension method to remove GraphConstraints.

    Declaration
    public static GraphConstraints Remove(this GraphConstraints graph, params GraphConstraints[] constraints)
    Parameters
    Type Name Description
    GraphConstraints graph

    Gets graph value.

    GraphConstraints[] constraints

    Gets constraints value.

    Returns
    Type
    GraphConstraints

    Remove(NodeConstraints, NodeConstraints[])

    Extension method to remove NodeConstraints

    Declaration
    public static NodeConstraints Remove(this NodeConstraints node, params NodeConstraints[] constraints)
    Parameters
    Type Name Description
    NodeConstraints node
    NodeConstraints[] constraints
    Returns
    Type
    NodeConstraints

    Remove(OverviewConstraints, OverviewConstraints[])

    Extension method to remove OverviewConstraints

    Declaration
    public static OverviewConstraints Remove(this OverviewConstraints overview, params OverviewConstraints[] constraints)
    Parameters
    Type Name Description
    OverviewConstraints overview
    OverviewConstraints[] constraints
    Returns
    Type
    OverviewConstraints

    Remove(PortConstraints, PortConstraints[])

    Extension method to remove PortConstraints

    Declaration
    public static PortConstraints Remove(this PortConstraints port, params PortConstraints[] constraints)
    Parameters
    Type Name Description
    PortConstraints port
    PortConstraints[] constraints
    Returns
    Type
    PortConstraints

    Remove(SegmentConstraints, SegmentConstraints)

    Extension method to remove SegmentConstraints

    Declaration
    public static SegmentConstraints Remove(this SegmentConstraints segment, SegmentConstraints constraints)
    Parameters
    Type Name Description
    SegmentConstraints segment
    SegmentConstraints constraints
    Returns
    Type
    SegmentConstraints

    Remove(SelectorConstraints, SelectorConstraints[])

    Extension method to remove SelectorConstraints

    Declaration
    public static SelectorConstraints Remove(this SelectorConstraints selector, params SelectorConstraints[] constraints)
    Parameters
    Type Name Description
    SelectorConstraints selector
    SelectorConstraints[] constraints
    Returns
    Type
    SelectorConstraints

    Remove(SnapConstraints, SnapConstraints[])

    Extension method to remove SnapConstraints

    Declaration
    public static SnapConstraints Remove(this SnapConstraints snap, params SnapConstraints[] constraints)
    Parameters
    Type Name Description
    SnapConstraints snap
    SnapConstraints[] constraints
    Returns
    Type
    SnapConstraints

    Remove(StencilConstraints, StencilConstraints[])

    Extension method to remove StencilConstraints

    Declaration
    public static StencilConstraints Remove(this StencilConstraints stencil, params StencilConstraints[] constraints)
    Parameters
    Type Name Description
    StencilConstraints stencil
    StencilConstraints[] constraints
    Returns
    Type
    StencilConstraints

    Remove(ToolTipConstraints, ToolTipConstraints[])

    Extension method to remove ToolTipConstraints

    Declaration
    public static ToolTipConstraints Remove(this ToolTipConstraints tooltip, params ToolTipConstraints[] constraints)
    Parameters
    Type Name Description
    ToolTipConstraints tooltip
    ToolTipConstraints[] constraints
    Returns
    Type
    ToolTipConstraints

    Toggle(AnnotationConstraints, AnnotationConstraints[])

    Extension method to Add / Remove AnnotationConstraints

    Declaration
    public static AnnotationConstraints Toggle(this AnnotationConstraints annotation, params AnnotationConstraints[] constraints)
    Parameters
    Type Name Description
    AnnotationConstraints annotation
    AnnotationConstraints[] constraints
    Returns
    Type
    AnnotationConstraints

    Toggle(ConnectorConstraints, ConnectorConstraints[])

    Extension method to Add / Remove ConnectorConstraints

    Declaration
    public static ConnectorConstraints Toggle(this ConnectorConstraints connector, params ConnectorConstraints[] constraints)
    Parameters
    Type Name Description
    ConnectorConstraints connector
    ConnectorConstraints[] constraints
    Returns
    Type
    ConnectorConstraints

    Toggle(ResizeConstraints, ResizeConstraints[])

    Extension method to Add or Remove Resizing Constraints.

    Declaration
    public static ResizeConstraints Toggle(this ResizeConstraints resize, params ResizeConstraints[] constraints)
    Parameters
    Type Name Description
    ResizeConstraints resize

    Resize constraints value.

    ResizeConstraints[] constraints

    Resize constraints parameter.

    Returns
    Type
    ResizeConstraints

    Toggle(GraphConstraints, GraphConstraints[])

    Extension methods to Add or Remove GraphConstraints.

    Declaration
    public static GraphConstraints Toggle(this GraphConstraints graph, params GraphConstraints[] constraints)
    Parameters
    Type Name Description
    GraphConstraints graph

    Gets graph value.

    GraphConstraints[] constraints

    Gets constraints value.

    Returns
    Type
    GraphConstraints

    Toggle(NodeConstraints, NodeConstraints[])

    Extension method to Add / Remove NodeConstraints

    Declaration
    public static NodeConstraints Toggle(this NodeConstraints node, params NodeConstraints[] constraints)
    Parameters
    Type Name Description
    NodeConstraints node
    NodeConstraints[] constraints
    Returns
    Type
    NodeConstraints

    Toggle(OverviewConstraints, OverviewConstraints[])

    Extension method to Add / Remove OverviewConstraints

    Declaration
    public static OverviewConstraints Toggle(this OverviewConstraints overview, params OverviewConstraints[] constraints)
    Parameters
    Type Name Description
    OverviewConstraints overview
    OverviewConstraints[] constraints
    Returns
    Type
    OverviewConstraints

    Toggle(PortConstraints, PortConstraints[])

    Extension method to Add / Remove PortConstraints

    Declaration
    public static PortConstraints Toggle(this PortConstraints port, params PortConstraints[] constraints)
    Parameters
    Type Name Description
    PortConstraints port
    PortConstraints[] constraints
    Returns
    Type
    PortConstraints

    Toggle(SegmentConstraints, SegmentConstraints[])

    Extension method to Add / Remove SegmentConstraints

    Declaration
    public static SegmentConstraints Toggle(this SegmentConstraints segment, params SegmentConstraints[] constraints)
    Parameters
    Type Name Description
    SegmentConstraints segment
    SegmentConstraints[] constraints
    Returns
    Type
    SegmentConstraints

    Toggle(SelectorConstraints, SelectorConstraints[])

    Extension method to Add / Remove SelectorConstraints

    Declaration
    public static SelectorConstraints Toggle(this SelectorConstraints selector, params SelectorConstraints[] constraints)
    Parameters
    Type Name Description
    SelectorConstraints selector
    SelectorConstraints[] constraints
    Returns
    Type
    SelectorConstraints

    Toggle(SnapConstraints, SnapConstraints[])

    Extension method to Add / Remove SnapConstraints

    Declaration
    public static SnapConstraints Toggle(this SnapConstraints snap, params SnapConstraints[] constraints)
    Parameters
    Type Name Description
    SnapConstraints snap
    SnapConstraints[] constraints
    Returns
    Type
    SnapConstraints

    Toggle(StencilConstraints, StencilConstraints[])

    Extension method to Add / Remove StencilConstraints

    Declaration
    public static StencilConstraints Toggle(this StencilConstraints stencil, params StencilConstraints[] constraints)
    Parameters
    Type Name Description
    StencilConstraints stencil
    StencilConstraints[] constraints
    Returns
    Type
    StencilConstraints

    Toggle(ToolTipConstraints, ToolTipConstraints[])

    Extension method to Add / Remove ToolTipConstraints

    Declaration
    public static ToolTipConstraints Toggle(this ToolTipConstraints tooltip, params ToolTipConstraints[] constraints)
    Parameters
    Type Name Description
    ToolTipConstraints tooltip
    ToolTipConstraints[] constraints
    Returns
    Type
    ToolTipConstraints
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved