menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SegmentCollectionChangeEventArgs - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SegmentCollectionChangeEventArgs

    SegmentCollectionChangeEventArgs notifies while the segment of the connectors changes

    Inheritance
    System.Object
    SegmentCollectionChangeEventArgs
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class SegmentCollectionChangeEventArgs : Object
    Examples
    <SfDiagramComponent Width = "1000px" Height="1000px" SegmentCollectionChange="@OnSegmentCollectionChange">
    </SfDiagramComponent>
    @code
    {
         private void OnSegmentCollectionChange(SegmentCollectionChangeEventArgs args)
        {
    
        }
    }

    Constructors

    SegmentCollectionChangeEventArgs()

    Declaration
    public SegmentCollectionChangeEventArgs()

    Properties

    AddedSegments

    Gets the action of diagram.

    Declaration
    public DiagramObjectCollection<ConnectorSegment> AddedSegments { get; }
    Property Value
    Type Description
    DiagramObjectCollection<ConnectorSegment>

    A collection of ConnectorSegment objects that represent the segments that were added to the diagram.

    Cancel

    Gets or sets the value indicates whether to cancel the change or not.

    Declaration
    public bool Cancel { get; set; }
    Property Value
    Type Description
    System.Boolean

    true, if the change is canceled. Otherwise, false.

    Element

    Gets the selected element.

    Declaration
    public Connector Element { get; }
    Property Value
    Type Description
    Connector

    The Connector object that represents the selected connector element.

    RemovedSegments

    Gets the removed segment collection.

    Declaration
    public DiagramObjectCollection<ConnectorSegment> RemovedSegments { get; }
    Property Value
    Type Description
    DiagramObjectCollection<ConnectorSegment>

    A collection of ConnectorSegment objects that represent the segments that were removed from the connector.

    Type

    Gets the type of the collection change.

    Declaration
    public CollectionChangedAction Type { get; }
    Property Value
    Type Description
    CollectionChangedAction

    The CollectionChangedAction representing the type of collection change.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved