menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SegmentEventArgs<TSegments> - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SegmentEventArgs<TSegments>

    Provided information about the event SegmentChanging event.

    Inheritance
    System.Object
    SegmentEventArgs<TSegments>
    Namespace: Syncfusion.Blazor.Gantt
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class SegmentEventArgs<TSegments> : Object
    Type Parameters
    Name Description
    TSegments

    The type of segments.

    Constructors

    SegmentEventArgs()

    Declaration
    public SegmentEventArgs()

    Properties

    AddedSegments

    Gets the list of added segments in the task.

    Declaration
    public List<TSegments> AddedSegments { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<TSegments>

    A list of TSegments representing the segments added as part of the split operation.

    Cancel

    Gets or sets a value indicating whether the split or merge task operation should be canceled.

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

    If set to true, then the segment change action will be cancelled. The default value is false.

    Remarks

    This property is applicable specifically to split and merge actions. It does not affect other operations such as cell editing or taskbar editing.

    DeletedSegments

    Gets the list of deleted segment records.

    Declaration
    public List<TSegments> DeletedSegments { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<TSegments>

    A list of TSegments representing the segments that were deleted as part of the merge operation.

    UpdatedSegments

    Gets the list of changed segment records during resize or drag actions of segements.

    Declaration
    public List<TSegments> UpdatedSegments { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<TSegments>

    A list of TSegments representing the segments that were updated as part of the segment’s drag or resize operation.

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