Class SfDiagramBase
Represents to sync the client side diagram object properties with server side objects.
Inheritance
System.Object
SfDiagramBase
Namespace: Syncfusion.Blazor.Diagrams
Assembly: Syncfusion.Blazor.dll
Syntax
public class SfDiagramBase : Object
Constructors
SfDiagramBase()
Declaration
public SfDiagramBase()
Methods
RandomString(Int32)
Generate random string for setting name for nodes/connectors.
Declaration
public static string RandomString(int length)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | length | Sets a length of the string. |
Returns
Type | Description |
---|---|
System.String | Returns the random string. |
UpdateCollection(IList, Boolean)
Update collection changes to client from server.
Declaration
public void UpdateCollection(IList obj, bool isRemoved)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IList | obj | Current list. |
System.Boolean | isRemoved | If true, the object removed from collection; false to add the object to collection. |