Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / DataGridControl Class / AllowDrag Property


In This Topic
    AllowDrag Property (DataGridControl)
    In This Topic
    Gets or sets a value indicating whether selected rows can be dragged to a target host, such as Excel, in order to copy the data directly without performing an explicit copy/paste.
    Syntax
    'Declaration
     
    Public Property AllowDrag As Boolean
    'Usage
     
    Dim instance As DataGridControl
    Dim value As Boolean
     
    instance.AllowDrag = value
     
    value = instance.AllowDrag
    public bool AllowDrag {get; set;}

    Property Value

    true if selected rows can be dragged to a target host; false otherwise. By default, false.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also