Class DiagramExtensions
Represensts a class to create add or remove extensions for the constraints of a diagram control.
Inheritance
System.Object
DiagramExtensions
Assembly: Syncfusion.SfDiagram.WPF.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
Returns
Add(ConnectorConstraints, ConnectorConstraints[])
Extension method to add ConnectorConstraints
Declaration
public static ConnectorConstraints Add(this ConnectorConstraints connector, params ConnectorConstraints[] constraints)
Parameters
Returns
Add(ResizeConstraints, ResizeConstraints)
Extension method to add ResizeConstraints
Declaration
public static ResizeConstraints Add(this ResizeConstraints resize, ResizeConstraints constraints)
Parameters
Returns
Add(GraphConstraints, GraphConstraints[])
Extension method to add Graph Constraints.
Declaration
public static GraphConstraints Add(this GraphConstraints graph, params GraphConstraints[] constraints)
Parameters
Returns
Add(NodeConstraints, NodeConstraints[])
Extension method to add Node Constraints.
Declaration
public static NodeConstraints Add(this NodeConstraints node, params NodeConstraints[] constraints)
Parameters
Returns
Add(OverviewConstraints, OverviewConstraints[])
Extension method to add OverviewConstraints
Declaration
public static OverviewConstraints Add(this OverviewConstraints overview, params OverviewConstraints[] constraints)
Parameters
Returns
Add(PortConstraints, PortConstraints[])
Extension method to add PortConstraints
Declaration
public static PortConstraints Add(this PortConstraints port, params PortConstraints[] constraints)
Parameters
Returns
Add(SegmentConstraints, SegmentConstraints)
Extension method to add SegmentConstraints
Declaration
public static SegmentConstraints Add(this SegmentConstraints segment, SegmentConstraints constraints)
Parameters
Returns
Add(SelectorConstraints, SelectorConstraints[])
Extension method to add SelectorConstraints
Declaration
public static SelectorConstraints Add(this SelectorConstraints selector, params SelectorConstraints[] constraints)
Parameters
Returns
Add(SnapConstraints, SnapConstraints[])
Extension method to add SnapConstraints
Declaration
public static SnapConstraints Add(this SnapConstraints snap, params SnapConstraints[] constraints)
Parameters
Returns
Add(StencilConstraints, StencilConstraints[])
Extension method to add StencilConstraints
Declaration
public static StencilConstraints Add(this StencilConstraints stencil, params StencilConstraints[] constraints)
Parameters
Returns
Extension method to add ToolTipConstraints
Declaration
public static ToolTipConstraints Add(this ToolTipConstraints tooltip, params ToolTipConstraints[] constraints)
Parameters
Returns
Contains(AnnotationConstraints, AnnotationConstraints)
Check the given value is in AnnotationConstraints
Declaration
public static bool Contains(this AnnotationConstraints annotation, AnnotationConstraints constraint)
Parameters
Returns
Contains(BezierSmoothness, BezierSmoothness)
Check the given value is in BezierSmoothness
Declaration
public static bool Contains(this BezierSmoothness s, BezierSmoothness t)
Parameters
Returns
Contains(ConnectorConstraints, ConnectorConstraints)
Check the given value is in ConnectorConstraints
Declaration
public static bool Contains(this ConnectorConstraints connector, ConnectorConstraints constraint)
Parameters
Returns
Contains(ResizeConstraints, ResizeConstraints)
Check the given value is in ResizeConstraints
Declaration
public static bool Contains(this ResizeConstraints resize, ResizeConstraints constraint)
Parameters
Returns
Contains(VisibilityMode, VisibilityMode)
Check the given value is in VisibilityMode
Declaration
public static bool Contains(this VisibilityMode s, VisibilityMode t)
Parameters
Returns
Contains(FitToPage, FitToPage)
Check the given value is in FitToPage
Declaration
public static bool Contains(this FitToPage s, FitToPage t)
Parameters
Returns
Contains(GraphConstraints, GraphConstraints)
Check the given value is in Graph Constraints.
Declaration
public static bool Contains(this GraphConstraints graph, GraphConstraints constraint)
Parameters
Returns
Contains(MultipleSelectionMode, MultipleSelectionMode)
Check the given value is in MultipleSelectionMode
Declaration
public static bool Contains(this MultipleSelectionMode s, MultipleSelectionMode t)
Parameters
Returns
Contains(NodeConstraints, NodeConstraints)
Check the given value is in NodeConstraints
Declaration
public static bool Contains(this NodeConstraints node, NodeConstraints constraint)
Parameters
Returns
Contains(OverviewConstraints, OverviewConstraints)
Check the given value is in OverviewConstraints
Declaration
public static bool Contains(this OverviewConstraints overview, OverviewConstraints constraint)
Parameters
Returns
Contains(PortConstraints, PortConstraints)
Check the given value is in PortConstraints
Declaration
public static bool Contains(this PortConstraints port, PortConstraints constraint)
Parameters
Returns
Contains(PortVisibility, PortVisibility)
Check the given value is in PortVisibility
Declaration
public static bool Contains(this PortVisibility s, PortVisibility t)
Parameters
Returns
Contains(RefreshFrequency, RefreshFrequency)
Check the given value is in RefreshFrequency
Declaration
public static bool Contains(this RefreshFrequency s, RefreshFrequency t)
Parameters
Returns
Contains(Region, Region)
Check the given value is in Region
Declaration
public static bool Contains(this Region s, Region t)
Parameters
Returns
Contains(ResizerConstraints, ResizerConstraints)
Check all the enum values are in the Resizer Constraints.
Declaration
public static bool Contains(this ResizerConstraints s, ResizerConstraints t)
Parameters
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
Returns
Contains(SelectorConstraints, SelectorConstraints)
Check the given value is in SelectorConstraints
Declaration
public static bool Contains(this SelectorConstraints selector, SelectorConstraints constraint)
Parameters
Returns
Contains(SnapChanges, SnapChanges)
Check the given value is in SnapChanges
Declaration
public static bool Contains(this SnapChanges s, SnapChanges t)
Parameters
Returns
Contains(SnapConstraints, SnapConstraints)
Check the given value is in SnapConstraints
Declaration
public static bool Contains(this SnapConstraints snap, SnapConstraints constraint)
Parameters
Returns
Contains(SnapReason, SnapReason)
Check the given value is in SnapReason
Declaration
public static bool Contains(this SnapReason s, SnapReason t)
Parameters
Returns
Contains(SnapToObject, SnapToObject)
Check the given value is in SnapToObject
Declaration
public static bool Contains(this SnapToObject snapToObject, SnapToObject constraint)
Parameters
Returns
Contains(StencilConstraints, StencilConstraints)
Check the given value is in StencilConstraints
Declaration
public static bool Contains(this StencilConstraints stencil, StencilConstraints constraint)
Parameters
Returns
Check the given value is in Tool
Declaration
public static bool Contains(this Tool s, Tool t)
Parameters
Returns
Check the given value is in ToolTipConstraints
Declaration
public static bool Contains(this ToolTipConstraints tooltip, ToolTipConstraints constraint)
Parameters
Returns
ContainsAll(AnnotationConstraints, AnnotationConstraints)
Check all the enum values are in the AnnotationConstraints
Declaration
public static bool ContainsAll(this AnnotationConstraints annotation, AnnotationConstraints constraint)
Parameters
Returns
ContainsAll(ConnectorConstraints, ConnectorConstraints)
Check all the enum values are in the ConnectorConstraints
Declaration
public static bool ContainsAll(this ConnectorConstraints connector, ConnectorConstraints constraint)
Parameters
Returns
ContainsAll(ResizeConstraints, ResizeConstraints)
Check all the enum values are in the ResizeConstraints
Declaration
public static bool ContainsAll(this ResizeConstraints resize, ResizeConstraints constraint)
Parameters
Returns
ContainsAll(GraphConstraints, GraphConstraints)
Check all the enum values are in the GraphConstraints
Declaration
public static bool ContainsAll(this GraphConstraints graph, GraphConstraints constraint)
Parameters
Returns
ContainsAll(NodeConstraints, NodeConstraints)
Check all the enum values are in the NodeConstraints
Declaration
public static bool ContainsAll(this NodeConstraints node, NodeConstraints constraint)
Parameters
Returns
ContainsAll(OverviewConstraints, OverviewConstraints)
Check all the enum values are in the OverviewConstraints
Declaration
public static bool ContainsAll(this OverviewConstraints overview, OverviewConstraints constraint)
Parameters
Returns
ContainsAll(PortConstraints, PortConstraints)
Check all the enum values are in the PortConstraints
Declaration
public static bool ContainsAll(this PortConstraints port, PortConstraints constraint)
Parameters
Returns
ContainsAll(SegmentConstraints, SegmentConstraints)
Check all the enum values are in the SegmentConstraints
Declaration
public static bool ContainsAll(this SegmentConstraints segment, SegmentConstraints constraint)
Parameters
Returns
ContainsAll(SelectorConstraints, SelectorConstraints)
Check all the enum values are in the SelectorConstraints
Declaration
public static bool ContainsAll(this SelectorConstraints selector, SelectorConstraints constraint)
Parameters
Returns
ContainsAll(SnapConstraints, SnapConstraints)
Check all the enum values are in the SnapConstraints
Declaration
public static bool ContainsAll(this SnapConstraints snap, SnapConstraints constraint)
Parameters
Returns
ContainsAll(StencilConstraints, StencilConstraints)
Check all the enum values are in the StencilConstraints
Declaration
public static bool ContainsAll(this StencilConstraints stencil, StencilConstraints constraint)
Parameters
Returns
Check all the enum values are in the ToolTipConstraints
Declaration
public static bool ContainsAll(this ToolTipConstraints tooltip, ToolTipConstraints constraint)
Parameters
Returns
Remove(AnnotationConstraints, AnnotationConstraints[])
Extension method to remove AnnotationConstraints
Declaration
public static AnnotationConstraints Remove(this AnnotationConstraints annotation, params AnnotationConstraints[] constraints)
Parameters
Returns
Remove(ConnectorConstraints, ConnectorConstraints[])
Extension method to remove ConnectorConstraints
Declaration
public static ConnectorConstraints Remove(this ConnectorConstraints connector, params ConnectorConstraints[] constraints)
Parameters
Returns
Remove(ResizeConstraints, ResizeConstraints)
Extension method to remove ResizeConstraints
Declaration
public static ResizeConstraints Remove(this ResizeConstraints resize, ResizeConstraints constraints)
Parameters
Returns
Remove(GraphConstraints, GraphConstraints[])
Extension method to remove GraphConstraints.
Declaration
public static GraphConstraints Remove(this GraphConstraints graph, params GraphConstraints[] constraints)
Parameters
Returns
Remove(NodeConstraints, NodeConstraints[])
Extension method to remove NodeConstraints
Declaration
public static NodeConstraints Remove(this NodeConstraints node, params NodeConstraints[] constraints)
Parameters
Returns
Remove(OverviewConstraints, OverviewConstraints[])
Extension method to remove OverviewConstraints
Declaration
public static OverviewConstraints Remove(this OverviewConstraints overview, params OverviewConstraints[] constraints)
Parameters
Returns
Remove(PortConstraints, PortConstraints[])
Extension method to remove PortConstraints
Declaration
public static PortConstraints Remove(this PortConstraints port, params PortConstraints[] constraints)
Parameters
Returns
Remove(SegmentConstraints, SegmentConstraints)
Extension method to remove SegmentConstraints
Declaration
public static SegmentConstraints Remove(this SegmentConstraints segment, SegmentConstraints constraints)
Parameters
Returns
Remove(SelectorConstraints, SelectorConstraints[])
Extension method to remove SelectorConstraints
Declaration
public static SelectorConstraints Remove(this SelectorConstraints selector, params SelectorConstraints[] constraints)
Parameters
Returns
Remove(SnapConstraints, SnapConstraints[])
Extension method to remove SnapConstraints
Declaration
public static SnapConstraints Remove(this SnapConstraints snap, params SnapConstraints[] constraints)
Parameters
Returns
Remove(StencilConstraints, StencilConstraints[])
Extension method to remove StencilConstraints
Declaration
public static StencilConstraints Remove(this StencilConstraints stencil, params StencilConstraints[] constraints)
Parameters
Returns
Extension method to remove ToolTipConstraints
Declaration
public static ToolTipConstraints Remove(this ToolTipConstraints tooltip, params ToolTipConstraints[] constraints)
Parameters
Returns
Toggle(AnnotationConstraints, AnnotationConstraints[])
Extension method to Add / Remove AnnotationConstraints
Declaration
public static AnnotationConstraints Toggle(this AnnotationConstraints annotation, params AnnotationConstraints[] constraints)
Parameters
Returns
Toggle(ConnectorConstraints, ConnectorConstraints[])
Extension method to Add / Remove ConnectorConstraints
Declaration
public static ConnectorConstraints Toggle(this ConnectorConstraints connector, params ConnectorConstraints[] constraints)
Parameters
Returns
Toggle(ResizeConstraints, ResizeConstraints[])
Extension method to Add or Remove Resizing Constraints.
Declaration
public static ResizeConstraints Toggle(this ResizeConstraints resize, params ResizeConstraints[] constraints)
Parameters
Returns
Toggle(GraphConstraints, GraphConstraints[])
Extension methods to Add or Remove GraphConstraints.
Declaration
public static GraphConstraints Toggle(this GraphConstraints graph, params GraphConstraints[] constraints)
Parameters
Returns
Toggle(NodeConstraints, NodeConstraints[])
Extension method to Add / Remove NodeConstraints
Declaration
public static NodeConstraints Toggle(this NodeConstraints node, params NodeConstraints[] constraints)
Parameters
Returns
Toggle(OverviewConstraints, OverviewConstraints[])
Extension method to Add / Remove OverviewConstraints
Declaration
public static OverviewConstraints Toggle(this OverviewConstraints overview, params OverviewConstraints[] constraints)
Parameters
Returns
Toggle(PortConstraints, PortConstraints[])
Extension method to Add / Remove PortConstraints
Declaration
public static PortConstraints Toggle(this PortConstraints port, params PortConstraints[] constraints)
Parameters
Returns
Toggle(SegmentConstraints, SegmentConstraints[])
Extension method to Add / Remove SegmentConstraints
Declaration
public static SegmentConstraints Toggle(this SegmentConstraints segment, params SegmentConstraints[] constraints)
Parameters
Returns
Toggle(SelectorConstraints, SelectorConstraints[])
Extension method to Add / Remove SelectorConstraints
Declaration
public static SelectorConstraints Toggle(this SelectorConstraints selector, params SelectorConstraints[] constraints)
Parameters
Returns
Toggle(SnapConstraints, SnapConstraints[])
Extension method to Add / Remove SnapConstraints
Declaration
public static SnapConstraints Toggle(this SnapConstraints snap, params SnapConstraints[] constraints)
Parameters
Returns
Toggle(StencilConstraints, StencilConstraints[])
Extension method to Add / Remove StencilConstraints
Declaration
public static StencilConstraints Toggle(this StencilConstraints stencil, params StencilConstraints[] constraints)
Parameters
Returns
Extension method to Add / Remove ToolTipConstraints
Declaration
public static ToolTipConstraints Toggle(this ToolTipConstraints tooltip, params ToolTipConstraints[] constraints)
Parameters
Returns