C1.Win.C1FlexGrid Namespace > RowCol Class : AllowDragging Property |
'Declaration
<C1CategoryAttribute("Behavior")> <C1DescriptionAttribute("Gets or sets whether the user can drag this row or column with the mouse.")> <DefaultValueAttribute()> Public Overridable Property AllowDragging As Boolean
'Usage
Dim instance As RowCol Dim value As Boolean instance.AllowDragging = value value = instance.AllowDragging
[C1Category("Behavior")] [C1Description("Gets or sets whether the user can drag this row or column with the mouse.")] [DefaultValue()] public virtual bool AllowDragging {get; set;}
[C1Category("Behavior")] [C1Description("Gets or sets whether the user can drag this row or column with the mouse.")] [DefaultValue()] public: virtual property bool AllowDragging { bool get(); void set ( bool value); }
The grid object also has an C1FlexGridBase.AllowDragging property. If dragging is disabled at the grid level, the user will not be able to drag any rows or columns.
If dragging is allowed by the grid's C1FlexGridBase.AllowDragging property, then dragging of individual rows and columns can still be disabled by setting this property to false.
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