alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class SegmentCollectionChangeEventArgs

    SegmentCollectionChangeEventArgs notifies while the segment of the connectors changes

    Inheritance
    object
    SegmentCollectionChangeEventArgs
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class SegmentCollectionChangeEventArgs
    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
    bool

    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.

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