Class RuleDroppingEventArgs
Provides the event data for the RuleDropping event of the SfQueryBuilder<TValue>.
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 the dropping event should be canceled.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
DropGroupID
Gets a value indicating the group ID on which the dropping is performed in SfQueryBuilder<TValue> if the dropping is performed on a group.
Declaration
public string DropGroupID { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string value that represents the group ID of the item on which dropping is performed. |
Remarks
The DropGroupID
property returns the ID of a group only when the dropping is performed on a group.
Use the GetGroup
method to retrieve the group based on the provided DropGroupID
.
It returns null
when the dropping is performed on a rule.
DropRuleID
Gets a value indicating the rule ID on which the dropping is performed in SfQueryBuilder<TValue> if the dropping is performed on a rule.
Declaration
public string DropRuleID { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string value that represents the rule ID of the item on which dropping is performed. Returns |
Remarks
The DropRuleID
property returns the ID of a rule only when the dropping is performed on a rule.
Use the GetRule
method to retrieve the rule based on the provided DropRuleID
.
It returns null
when the dropping is performed on a group.