Skip to content

Commit 1a2643c

Browse files
982382: Documentation for Allow drag within swimlane
1 parent 8c0f6a2 commit 1a2643c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

blazor/diagram/swimlane/lane/interaction.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@ The following example demonstrates a node with the text "AllowDrag Within Swimla
6565
6666
@code
6767
{
68-
//Define diagram's swimlane collection
68+
// Define diagram's swimlane collection
6969
private DiagramObjectCollection<Swimlane> SwimlaneCollections = new DiagramObjectCollection<Swimlane>();
7070
7171
protected override void OnInitialized()
7272
{
73-
// A swimlane is created and stored in the swimlanes collection.
73+
// A swimlane is created and stored in the swimlanes collection
7474
Swimlane swimlane = new Swimlane()
7575
{
7676
Header = new SwimlaneHeader()
@@ -104,7 +104,7 @@ The following example demonstrates a node with the text "AllowDrag Within Swimla
104104
LaneOffsetX = 100,
105105
LaneOffsetY = 30,
106106
// To enable AllowDragWithinSwimlane to restrict movement outside the swimlane
107-
Constraints = NodeConstraints.Default | NodeConstraints.AllowDragWithinSwimlane ,
107+
Constraints = NodeConstraints.Default | NodeConstraints.AllowDragWithinSwimlane,
108108
Annotations = new DiagramObjectCollection<ShapeAnnotation>()
109109
{
110110
new ShapeAnnotation()
@@ -175,12 +175,12 @@ The following example demonstrates that a constraint can also be enabled or disa
175175
176176
@code
177177
{
178-
//Define diagram's swimlane collection
178+
// Define diagram's swimlane collection
179179
DiagramObjectCollection<Swimlane> SwimlaneCollections = new DiagramObjectCollection<Swimlane>();
180180
181181
protected override void OnInitialized()
182182
{
183-
// A swimlane is created and stored in the swimlanes collection.
183+
// A swimlane is created and stored in the swimlanes collection
184184
Swimlane swimlane = new Swimlane()
185185
{
186186
Header = new SwimlaneHeader()

0 commit comments

Comments
 (0)