Class QueryAllowedPositionsEventArgs
Represents a data for the QueryAllowedPositionsForNode event.
Inheritance
System.Object
System.EventArgs
QueryAllowedPositionsEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Tools.MultiColumnTreeView
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class QueryAllowedPositionsEventArgs : EventArgs
Constructors
QueryAllowedPositionsEventArgs(TreeNodeAdv, TreeViewDropPositions, TreeViewDropPositions)
Initializes a new instance of the QueryAllowedPositionsEventArgs class.
Declaration
public QueryAllowedPositionsEventArgs(TreeNodeAdv highLightNode, TreeViewDropPositions highlightPosition, TreeViewDropPositions allowedPositions)
Parameters
Type | Name | Description |
---|---|---|
TreeNodeAdv | highLightNode | The node over which the mouse is during drag-and-drop. |
TreeViewDropPositions | highlightPosition | The computed drop-position. |
TreeViewDropPositions | allowedPositions | The allowed drop-positions. |
Properties
AllowedPositions
Gets or sets the allowed drop-positions.
Declaration
public TreeViewDropPositions AllowedPositions { get; set; }
Property Value
Remarks
Change this value if you want to prevent drop in the NewDropPosition.
HighlightNode
Gets the currently highlighted node.
Declaration
public TreeNodeAdv HighlightNode { get; }
Property Value
Type |
---|
TreeNodeAdv |
NewDropPosition
Gets the computed drop position.
Declaration
public TreeViewDropPositions NewDropPosition { get; }
Property Value
ShowSelectionHighlight
Gets or sets a value indicating whether the drag over node should be drawn with the selection highlight.
Declaration
public bool ShowSelectionHighlight { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | True to show the highlight; false otherwise. Default is true. |