FlexGrid for WinForms
AllowDragging Property (C1FlexGridBase)



Gets or sets whether the user is allowed to drag rows and columns with the mouse.
Syntax
'Declaration
 
<C1DescriptionAttribute("Gets or sets whether the user is allowed to drag rows and columns with the mouse.")>
<DefaultValueAttribute()>
<C1CategoryAttribute("Behavior")>
Public Property AllowDragging As AllowDraggingEnum
'Usage
 
Dim instance As C1FlexGridBase
Dim value As AllowDraggingEnum
 
instance.AllowDragging = value
 
value = instance.AllowDragging
[C1Description("Gets or sets whether the user is allowed to drag rows and columns with the mouse.")]
[DefaultValue()]
[C1Category("Behavior")]
public AllowDraggingEnum AllowDragging {get; set;}
[C1Description("Gets or sets whether the user is allowed to drag rows and columns with the mouse.")]
[DefaultValue()]
[C1Category("Behavior")]
public:
property AllowDraggingEnum AllowDragging {
   AllowDraggingEnum get();
   void set (    AllowDraggingEnum value);
}
Remarks

Row dragging may not work in bound mode. This is because some data sources do not allow absolute positioning of rows.

ADO.NET DataTable object in particular do not support this.

Column dragging is supported for any data source, and row dragging is always supported in unbound mode.

You can prevent specific rows and columns from being dragged by setting their RowCol.AllowDragging property to false.

Requirements

Target Platforms: 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

Reference

C1FlexGridBase Class
C1FlexGridBase Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback