Skip to content

Commit f747660

Browse files
982382: Documentation for Allow drag within swimlane
1 parent aff5820 commit f747660

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

blazor/diagram/swimlane/lane/interaction.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -165,25 +165,13 @@ The following example demonstrates a node with the text "AllowDrag Within Swimla
165165

166166
The following example demonstrates enabling or disabling `AllowDragWithinSwimlane` dynamically at runtime by a button click.
167167

168-
<<<<<<< .mine
169168
```cshtml
170169
@using Syncfusion.Blazor.Diagram
171-
=======
172-
>**Note:**
173-
* To restrict a node to its owning swimlane, add **NodeConstraints.AllowDragWithinSwimlane** to the node’s `Constraints` property.
174-
>>>>>>> .theirs
175170
176-
<<<<<<< .mine
177171
<button onclick="@AllowDrag">AllowDrag</button>
178172
<SfDiagramComponent Height="600px" Swimlanes="@SwimlaneCollections" NodeCreating="@OnNodeCreating" >
179173
<SnapSettings Constraints="SnapConstraints.None"></SnapSettings>
180174
</SfDiagramComponent>
181-
=======
182-
* To enforce this restriction for all child nodes within swimlanes, set the [Constraints](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.Node.html#Syncfusion_Blazor_Diagram_Node_Constraints) during node initialization in the [NodeCreating](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html#Syncfusion_Blazor_Diagram_SfDiagramComponent_NodeCreating) event.
183-
184-
185-
186-
>>>>>>> .theirs
187175
188176
@code
189177
{

0 commit comments

Comments
 (0)