WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class QueryAllowedPositionsEventArgs

    Show / Hide Table of Contents

    Class QueryAllowedPositionsEventArgs

    Represents the data for the QueryAllowedPositionsForNode event.

    Inheritance
    System.Object
    System.EventArgs
    QueryAllowedPositionsEventArgs
    Inherited Members
    System.EventArgs.Empty
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class QueryAllowedPositionsEventArgs : EventArgs

    Constructors

    QueryAllowedPositionsEventArgs(TreeNodeAdv, TreeViewDropPositions, TreeViewDropPositions)

    Initialize 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
    Type Description
    TreeViewDropPositions
    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 Description
    TreeNodeAdv

    NewDropPosition

    Gets the computed drop position.

    Declaration
    public TreeViewDropPositions NewDropPosition { get; }
    Property Value
    Type Description
    TreeViewDropPositions

    ShowSelectionHighlight

    Gets or sets the valude 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.

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