alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class GanttTaskConstraintEventArgs<TValue>

    Provides event argument data for the OnTaskConstraint event.

    Inheritance
    object
    GanttTaskConstraintEventArgs<TValue>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Gantt
    Assembly: Syncfusion.Blazor.Gantt.dll
    Syntax
    public class GanttTaskConstraintEventArgs<TValue>
    Type Parameters
    Name Description
    TValue

    Specifies the type of the task model.

    Constructors

    GanttTaskConstraintEventArgs()

    Declaration
    public GanttTaskConstraintEventArgs()

    Properties

    ConstraintValidateType

    Gets the type of constraint that is being validated for the task.

    Declaration
    public TaskConstraintType ConstraintValidateType { get; }
    Property Value
    Type Description
    TaskConstraintType

    A TaskConstraintType value that represents the constraint validation type.

    Remarks

    This property indicates which task constraint rule is currently being evaluated.

    Data

    Gets the task data associated with the constraint event.

    Declaration
    public TValue Data { get; }
    Property Value
    Type Description
    TValue

    An instance of the task data that is affected by the constraint validation.

    Remarks

    This property contains the underlying task record on which the constraint validation is performed.

    IsRespectConstraint

    Gets or sets a value indicating whether the task constraint is respected when a scheduling conflict occurs.

    Declaration
    public bool IsRespectConstraint { get; set; }
    Property Value
    Type Description
    bool

    true to respect the task constraint and revert the current scheduling action; otherwise, false.

    Remarks

    This property determines how a constraint violation is processed when the OnTaskConstraint event is raised. When set to true, the violated constraint is respected and the current scheduling action is reverted. When set to false, the Scheduling Conflict dialog is displayed and the scheduling operation continues according to the selected conflict-resolution option. The default value is false.

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