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
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 |
|
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 |
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 |
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.