menu

Blazor

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

    Show / Hide Table of Contents

    Class RuleDroppingEventArgs

    Provides event arguments for the RuleDropping event, which is triggered when a rule or group is about to be dropped onto a target location.

    Inheritance
    System.Object
    RuleDroppingEventArgs
    Namespace: Syncfusion.Blazor.QueryBuilder
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class RuleDroppingEventArgs : Object

    Constructors

    RuleDroppingEventArgs()

    Declaration
    public RuleDroppingEventArgs()

    Properties

    Cancel

    Gets or sets a value indicating whether to cancel the drop action.

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

    true to prevent the item from being dropped; otherwise, false. The default value is false.

    Remarks

    Setting this property to true stops the drop operation and prevents any changes to the query structure.

    DropGroupID

    Gets or sets the ID of the group a dragged item is being dropped onto.

    Declaration
    public string DropGroupID { get; set; }
    Property Value
    Type Description
    System.String

    A string representing the ID of the target group. This property is null if the item is dropped onto a rule.

    Remarks

    This property helps identify the specific group that is the target of the drop action. You can use the GetGroup method with this ID to get the group instance.

    DropRuleID

    Gets or sets the ID of the rule a dragged item is being dropped onto.

    Declaration
    public string DropRuleID { get; set; }
    Property Value
    Type Description
    System.String

    A string representing the ID of the target rule. This property is null if the item is dropped onto a group.

    Remarks

    This property helps identify the specific rule that is the target of the drop action. You can use the GetRule method with this ID to get the rule instance.

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