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






Specifies whether or not to allow users resize column's width

Syntax

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

Remarks

A column can be resized by moving the mouse to the right edge of a column and dragged. When dragged, a gray vertical splitter will appear to indicate the new size of the column as users move the mouse.

In the column freezing feature, frozen columns visibility are locked and can’t be set to hidden. If you would like to remove the column, unfreeze the column first to remove it from the Grid.

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: Resize a column

Concepts

Advanced User Interactions

©2012 Intersoft Solutions Corp. All Rights Reserved.