Intersoft WebGrid Documentation
AllowColumnMove Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > LayoutSet Class : AllowColumnMove Property






Specifies whether or not to allow users move columns.

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Specifies whether or not to allow users move columns.")>
<ISNet.Serialization.XmlSerializableAttribute()>
<NotifyParentPropertyAttribute(True)>
<ISNet.Serialization.BinarySerializableAttribute()>
<DefaultValueAttribute()>
Public Property AllowColumnMove As ColumnMove
Visual Basic (Usage)Copy Code
Dim instance As LayoutSet
Dim value As ColumnMove
 
instance.AllowColumnMove = value
 
value = instance.AllowColumnMove
C# 
[DescriptionAttribute("Specifies whether or not to allow users move columns.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
public ColumnMove AllowColumnMove {get; set;}
Delphi 
public read-write property AllowColumnMove: ColumnMove; 
JScript 
DescriptionAttribute("Specifies whether or not to allow users move columns.")
ISNet.Serialization.XmlSerializableAttribute()
NotifyParentPropertyAttribute()
ISNet.Serialization.BinarySerializableAttribute()
DefaultValueAttribute()
public function get,set AllowColumnMove : ColumnMove
Managed Extensions for C++ 
[DescriptionAttribute("Specifies whether or not to allow users move columns.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
public: __property ColumnMove get_AllowColumnMove();
public: __property void set_AllowColumnMove( 
   ColumnMove value
);
C++/CLI 
[DescriptionAttribute("Specifies whether or not to allow users move columns.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
public:
property ColumnMove AllowColumnMove {
   ColumnMove get();
   void set (    ColumnMove value);
}

Remarks

If users have set the AllowColumnMove property to True, a column header can be dragged and dropped to the targeted position.

In the column freezing feature, the frozen columns are not movable. This behavior is set automatically.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Reference

LayoutSet Class
LayoutSet Members

Tasks

How-to: Move a column

Concepts

Advanced User Interactions

©2012 Intersoft Solutions Corp. All Rights Reserved.