Skip to content

Commit dc82366

Browse files
Merge branch 'hotfix/hotfix-v27.1.48' into BLAZ-910110-ColumnH1
2 parents ac9bec9 + 86f4461 commit dc82366

30 files changed

+625
-78
lines changed

blazor-toc.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3418,6 +3418,8 @@
34183418
<a href="/blazor/multicolumn-combobox/data-binding">Data Binding</a>
34193419
</li>
34203420
<li> <a href="/blazor/multicolumn-combobox/column">Columns</a></li>
3421+
<li> <a href="/blazor/multicolumn-combobox/grouping">Grouping</a></li>
3422+
34213423
<li>
34223424
<a href="/blazor/multicolumn-combobox/placeholder-and-floatlabel">Placeholder and Floatlabel</a>
34233425
</li>
@@ -3427,6 +3429,7 @@
34273429
<li>
34283430
<a href="/blazor/multicolumn-combobox/custom-value">Custom Value</a>
34293431
</li>
3432+
<li> <a href="/blazor/multicolumn-combobox/paging">Paging</a></li>
34303433
<li> <a href="/blazor/multicolumn-combobox/popup-setting">Popup Setting</a></li>
34313434
<li><a href="/blazor/multicolumn-combobox/sorting">Sorting</a></li>
34323435
<li> <a href="/blazor/multicolumn-combobox/virtualization">Virtualization</a></li>

blazor/diagram/annotations/appearance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ You can change the font style of the annotations with the font specific properti
376376
Diagram.Nodes[0].Annotations[0].Style.Bold = false;
377377
Diagram.Nodes[0].Annotations[0].Style.TextDecoration = TextDecoration.None;
378378
Diagram.Nodes[0].Annotations[0].Style.Color = "Red";
379-
Diagram.EndUpdate();
379+
Diagram.EndUpdateAsync();
380380
}
381381
}
382382
```

blazor/diagram/connectors/connectors.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
133133
connector.ID = RandomId();
134134
connector.SourcePoint = new DiagramPoint { X = 100, Y = 100 };
135135
connector.TargetPoint = new DiagramPoint { X = 200, Y = 100 };
136-
await diagram.AddDiagramElements(new DiagramObjectCollection<NodeBase>() { connector });
136+
await diagram.AddDiagramElementsAsync(new DiagramObjectCollection<NodeBase>() { connector });
137137
138138
}
139139
internal string RandomId()
@@ -152,9 +152,9 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
152152
![Clonning Node](../images/CloneConnector.gif)
153153
## How to add connector with annotations at runtime
154154

155-
You can add connector with annotation at runtime in the diagram component by using the [AddDiagramElements](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html#Syncfusion_Blazor_Diagram_SfDiagramComponent_AddDiagramElements_Syncfusion_Blazor_Diagram_DiagramObjectCollection_Syncfusion_Blazor_Diagram_NodeBase__) method.
155+
You can add connector with annotation at runtime in the diagram component by using the [AddDiagramElementsAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html#Syncfusion_Blazor_Diagram_SfDiagramComponent_AddDiagramElementsAsync_Syncfusion_Blazor_Diagram_DiagramObjectCollection_Syncfusion_Blazor_Diagram_NodeBase__) method.
156156

157-
The following code explains how to add an connector with annotation at runtime by using `AddDiagramElements` method.
157+
The following code explains how to add an connector with annotation at runtime by using `AddDiagramElementsAsync` method.
158158

159159
```cshtml
160160
@using Syncfusion.Blazor.Diagram
@@ -200,7 +200,7 @@ The following code explains how to add an connector with annotation at runtime
200200
},
201201
};
202202
NodeCollection.Add(NewConnector);
203-
await Diagram.AddDiagramElements(NodeCollection);
203+
await Diagram.AddDiagramElementsAsync(NodeCollection);
204204
}
205205
}
206206
```
@@ -393,13 +393,13 @@ The following code example explains how to change the connector properties.
393393
Diagram.BeginUpdate();
394394
Diagram.Connectors[0].SourcePoint.X = 50;
395395
Diagram.Connectors[0].SourcePoint.Y = 50;
396-
Diagram.EndUpdate();
396+
Diagram.EndUpdateAsync();
397397
}
398398
}
399399
```
400400
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Connectors/ActionofConnectors/UpdateConnectorAtRunTime)
401401

402-
N> BeginUpdate and EndUpdate methods allow you to stop the continuous update of control and resume it finally.
402+
N> BeginUpdate and EndUpdateAsync methods allow you to stop the continuous update of control and resume it finally.
403403

404404
## Connections
405405

blazor/diagram/group.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
236236
(node4 as NodeGroup).Children = array;
237237
node4.OffsetX += 25;
238238
node4.OffsetY += 25;
239-
await diagram.AddDiagramElements(new DiagramObjectCollection<NodeBase>() { node2, node3, node4 });
239+
await diagram.AddDiagramElementsAsync(new DiagramObjectCollection<NodeBase>() { node2, node3, node4 });
240240
}
241241
242242
internal string RandomId()
@@ -384,7 +384,7 @@ The following code illustrates how a node group is added at runtime.
384384
}
385385
```
386386
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Group/AddGroupAtRunTime)
387-
* Also, you can add the child to the node group through [AddChild](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html#Syncfusion_Blazor_Diagram_SfDiagramComponent_AddChild_Syncfusion_Blazor_Diagram_NodeGroup_Syncfusion_Blazor_Diagram_NodeBase_) method. The following code illustrates how to add child to the existing node group through AddChild method.
387+
* Also, you can add the child to the node group through [AddChildAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html#Syncfusion_Blazor_Diagram_SfDiagramComponent_AddChildAsync_Syncfusion_Blazor_Diagram_NodeGroup_Syncfusion_Blazor_Diagram_NodeBase_) method. The following code illustrates how to add child to the existing node group through AddChildAsync method.
388388

389389
```cshtml
390390
@using Syncfusion.Blazor.Diagram
@@ -466,7 +466,7 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
466466
}
467467
}
468468
};
469-
await diagram.AddChild(group as NodeGroup, node);
469+
await diagram.AddChildAsync(group as NodeGroup, node);
470470
}
471471
}
472472
```

blazor/diagram/how-to.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ To create a node, define the Node object and add it to the nodes collection of t
5050
```
5151
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Methods/AddMethod)
5252

53-
## How to add nodes through AddDiagramElements
53+
## How to add nodes through AddDiagramElementsAsync
5454

55-
Unlike the Add() method, the [AddDiagramElements](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html#Syncfusion_Blazor_Diagram_SfDiagramComponent_AddDiagramElements_Syncfusion_Blazor_Diagram_DiagramObjectCollection_Syncfusion_Blazor_Diagram_NodeBase__) method will measure the passed elements before re-rendering the complete diagram component at once. When using the Add() method to add multiple nodes and connectors simultaneously, the connectors will be rendered before the nodes. As a result, connectors may be misplaced due to the synchronous behavior of the Add method. To overcome this, use the asynchronous AddDiagramElements() method.
55+
Unlike the Add() method, the [AddDiagramElementsAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html#Syncfusion_Blazor_Diagram_SfDiagramComponent_AddDiagramElementsAsync_Syncfusion_Blazor_Diagram_DiagramObjectCollection_Syncfusion_Blazor_Diagram_NodeBase__) method will measure the passed elements before re-rendering the complete diagram component at once. When using the Add() method to add multiple nodes and connectors simultaneously, the connectors will be rendered before the nodes. As a result, connectors may be misplaced due to the synchronous behavior of the Add method. To overcome this, use the asynchronous AddDiagramElementsAsync() method.
5656

57-
* AddDiagramElements() method is a preferred way to add a collection of items to the diagram to get better performance compared to Add() method.
57+
* AddDiagramElementsAsync() method is a preferred way to add a collection of items to the diagram to get better performance compared to Add() method.
5858

5959
```cshtml
6060
@using Syncfusion.Blazor.Diagram
@@ -147,7 +147,7 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
147147
NodeCollection.Add(node1);
148148
NodeCollection.Add(node2);
149149
NodeCollection.Add(Connector);
150-
await Diagram.AddDiagramElements(NodeCollection);
150+
await Diagram.AddDiagramElementsAsync(NodeCollection);
151151
}
152152
}
153153
```
@@ -958,8 +958,8 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
958958
```
959959
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Methods/GetCustomCursor)
960960

961-
## How to use the BeginUpdate and EndUpdate
962-
[BeginUpdate](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html#Syncfusion_Blazor_Diagram_SfDiagramComponent_BeginUpdate) prevents visual updates to the diagram until the EndUpdate() method is called. [EndUpdate](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html#Syncfusion_Blazor_Diagram_SfDiagramComponent_EndUpdate) means that the diagram is unlocked following a call to the BeginUpdate(Boolean) method, resulting in an immediate visual update.
961+
## How to use the BeginUpdate and EndUpdateAsync
962+
[BeginUpdate](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html#Syncfusion_Blazor_Diagram_SfDiagramComponent_BeginUpdate) prevents visual updates to the diagram until the EndUpdateAsync() method is called. [EndUpdateAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html#Syncfusion_Blazor_Diagram_SfDiagramComponent_EndUpdateAsync) means that the diagram is unlocked following a call to the BeginUpdate(Boolean) method, resulting in an immediate visual update.
963963

964964
```cshtml
965965
@using Syncfusion.Blazor.Diagram
@@ -1032,7 +1032,7 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
10321032
diagram.BeginUpdate();
10331033
diagram.Nodes[0].Height = 150;
10341034
diagram.Nodes[0].Width = 150;
1035-
diagram.EndUpdate();
1035+
diagram.EndUpdateAsync();
10361036
10371037
}
10381038
}
@@ -1305,7 +1305,7 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
13051305
{
13061306
sfDiagram.EndGroupAction();
13071307
}
1308-
_ = sfDiagram.EndUpdate();
1308+
_ = sfDiagram.EndUpdateAsync();
13091309
base.OnMouseUp(args);
13101310
this.InAction = true;
13111311
}
@@ -1525,7 +1525,7 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
15251525
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Methods/ZoomAndPan)
15261526

15271527
## How to refresh the datasource
1528-
[RefreshDataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html#Syncfusion_Blazor_Diagram_SfDiagramComponent_RefreshDataSource) will refresh the layout based on the changes in the data source.
1528+
[RefreshDataSourceAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html#Syncfusion_Blazor_Diagram_SfDiagramComponent_RefreshDataSourceAsync) will refresh the layout based on the changes in the data source.
15291529

15301530
```cshtml
15311531
@using Syncfusion.Blazor.Diagram
@@ -1599,7 +1599,7 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
15991599
new MindMapDetails() { Id= "4", Label="Sessions", ParentId ="2", Branch = "subRight" },
16001600
new MindMapDetails() { Id= "5", Label="Complementing", ParentId ="2", Branch = "subRight" },
16011601
};
1602-
await Diagram.RefreshDataSource();
1602+
await Diagram.RefreshDataSourceAsync();
16031603
}
16041604
}
16051605
```

blazor/diagram/interaction.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ Clone is a virtual method of the node that is used to create a copy of a diagram
251251
groupNode.OffsetX += 25;
252252
groupNode.OffsetY += 25;
253253
}
254-
diagram.AddDiagramElements(new DiagramObjectCollection<NodeBase>() { groupNode });
254+
diagram.AddDiagramElementsAsync(new DiagramObjectCollection<NodeBase>() { groupNode });
255255
return groupNode.ID;
256256
}
257257
public string CloneNode(Node node, bool isChild)
@@ -264,7 +264,7 @@ Clone is a virtual method of the node that is used to create a copy of a diagram
264264
nodeChild.OffsetX += 25;
265265
nodeChild.OffsetY += 25;
266266
}
267-
diagram.AddDiagramElements(new DiagramObjectCollection<NodeBase>() { nodeChild });
267+
diagram.AddDiagramElementsAsync(new DiagramObjectCollection<NodeBase>() { nodeChild });
268268
diagram.EndGroupAction();
269269
return nodeChild.ID;
270270
}
@@ -278,7 +278,7 @@ Clone is a virtual method of the node that is used to create a copy of a diagram
278278
connectorChild.SourcePoint = new DiagramPoint() { X = connectorChild.SourcePoint.X + 25, Y = connectorChild.SourcePoint.Y + 25 };
279279
connectorChild.TargetPoint = new DiagramPoint() { X = connectorChild.TargetPoint.X + 25, Y = connectorChild.TargetPoint.Y + 25 };
280280
}
281-
diagram.AddDiagramElements(new DiagramObjectCollection<NodeBase>() { connectorChild });
281+
diagram.AddDiagramElementsAsync(new DiagramObjectCollection<NodeBase>() { connectorChild });
282282
diagram.EndGroupAction();
283283
return connectorChild.ID;
284284
}

blazor/diagram/layout/hierarchical-layout.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public void UpdateSpacing()
196196
Diagram.BeginUpdate();
197197
HorizontalSpacing += 10;
198198
VerticalSpacing += 10;
199-
Diagram.EndUpdate();
199+
Diagram.EndUpdateAsync();
200200
}
201201
```
202202

@@ -221,7 +221,7 @@ public void UpdateMargin()
221221
Diagram.BeginUpdate();
222222
left += 10;
223223
top += 10;
224-
Diagram.EndUpdate();
224+
Diagram.EndUpdateAsync();
225225
}
226226
```
227227

blazor/diagram/layout/organizational-chart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,11 +370,11 @@ The following code example illustrates how to add assistants to the layout.
370370

371371
## How to refresh the layout
372372

373-
Diagram allows to refresh the layout at runtime by using the [DoLayout](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html#Syncfusion_Blazor_Diagram_SfDiagramComponent_DoLayout) method. Use the following code example to refresh the layout.
373+
Diagram allows to refresh the layout at runtime by using the [DoLayoutAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html#Syncfusion_Blazor_Diagram_SfDiagramComponent_DoLayoutAsync) method. Use the following code example to refresh the layout.
374374
375375
```csharp
376376
//Update the layout at runtime.
377-
diagram.DoLayout();
377+
diagram.DoLayoutAsync();
378378

379379
//Here, diagram is instance of SfDiagramComponent.
380380
```

blazor/diagram/nodes/nodes.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
116116

117117
## How to add node with annotations at runtime
118118

119-
You can add node with annotation at runtime in the diagram component by using the [AddDiagramElements](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html#Syncfusion_Blazor_Diagram_SfDiagramComponent_AddDiagramElements_Syncfusion_Blazor_Diagram_DiagramObjectCollection_Syncfusion_Blazor_Diagram_NodeBase__) method.
119+
You can add node with annotation at runtime in the diagram component by using the [AddDiagramElementsAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html#Syncfusion_Blazor_Diagram_SfDiagramComponent_AddDiagramElementsAsync_Syncfusion_Blazor_Diagram_DiagramObjectCollection_Syncfusion_Blazor_Diagram_NodeBase__) method.
120120

121-
The following code explains how to add an node with annotation at runtime by using `AddDiagramElements` method.
121+
The following code explains how to add an node with annotation at runtime by using `AddDiagramElementsAsync` method.
122122

123123
```cshtml
124124
@using Syncfusion.Blazor.Diagram
@@ -175,7 +175,7 @@ The following code explains how to add an node with annotation at runtime by us
175175
},
176176
};
177177
NodeCollection.Add(NewNode);
178-
await diagram.AddDiagramElements(NodeCollection);
178+
await diagram.AddDiagramElementsAsync(NodeCollection);
179179
}
180180
}
181181
```
@@ -300,7 +300,7 @@ public void RemoveNodes()
300300
node.ID = RandomId();
301301
node.OffsetX += 25;
302302
node.OffsetY += 25;
303-
await diagram.AddDiagramElements(new DiagramObjectCollection<NodeBase>() { node });
303+
await diagram.AddDiagramElementsAsync(new DiagramObjectCollection<NodeBase>() { node });
304304
}
305305
306306
internal string RandomId()
@@ -358,13 +358,13 @@ The following code example explains how to change the node properties.
358358
Diagram.BeginUpdate();
359359
Diagram.Nodes[0].Width = 50;
360360
Diagram.Nodes[0].Height = 50;
361-
await Diagram.EndUpdate();
361+
await Diagram.EndUpdateAsync();
362362
}
363363
}
364364
```
365365
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/Blazor-Diagram-Examples/tree/master/UG-Samples/Nodes/ActionsofNodes/UpdateNode)
366366

367-
N> [BeginUpdate](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html#Syncfusion_Blazor_Diagram_SfDiagramComponent_BeginUpdate) and [EndUpdate](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html#Syncfusion_Blazor_Diagram_SfDiagramComponent_EndUpdate) methods allow you to stop the continuous update of control and resume it finally.
367+
N> [BeginUpdate](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html#Syncfusion_Blazor_Diagram_SfDiagramComponent_BeginUpdate) and [EndUpdateAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagram.SfDiagramComponent.html#Syncfusion_Blazor_Diagram_SfDiagramComponent_EndUpdateAsync) methods allow you to stop the continuous update of control and resume it finally.
368368

369369
## See Also
370370

blazor/diagram/ports/ports.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ protected override void OnInitialized()
346346
diagram.BeginUpdate();
347347
nodes[0].Ports[0].Offset.X = 1;
348348
nodes[0].Ports[0].Offset.Y = 1;
349-
await diagram.EndUpdate();
349+
await diagram.EndUpdateAsync();
350350
}
351351
}
352352
```

0 commit comments

Comments
 (0)