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






Specifies whether WebGrid will calculate its width automatically based on available page's width.

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Specifies whether WebGrid will calculate its width automatically based on available page's width.")>
<DefaultValueAttribute()>
<ISNet.Serialization.XmlSerializableAttribute()>
<ISNet.Serialization.BinarySerializableAttribute()>
<NotifyParentPropertyAttribute(True)>
Public Property AutoWidth As Boolean
Visual Basic (Usage)Copy Code
Dim instance As LayoutSet
Dim value As Boolean
 
instance.AutoWidth = value
 
value = instance.AutoWidth
C# 
[DescriptionAttribute("Specifies whether WebGrid will calculate its width automatically based on available page's width.")]
[DefaultValueAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
public bool AutoWidth {get; set;}
Delphi 
public read-write property AutoWidth: Boolean; 
JScript 
DescriptionAttribute("Specifies whether WebGrid will calculate its width automatically based on available page's width.")
DefaultValueAttribute()
ISNet.Serialization.XmlSerializableAttribute()
ISNet.Serialization.BinarySerializableAttribute()
NotifyParentPropertyAttribute()
public function get,set AutoWidth : boolean
Managed Extensions for C++ 
[DescriptionAttribute("Specifies whether WebGrid will calculate its width automatically based on available page's width.")]
[DefaultValueAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
public: __property bool get_AutoWidth();
public: __property void set_AutoWidth( 
   bool value
);
C++/CLI 
[DescriptionAttribute("Specifies whether WebGrid will calculate its width automatically based on available page's width.")]
[DefaultValueAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
public:
property bool AutoWidth {
   bool get();
   void set (    bool value);
}

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

©2012 Intersoft Solutions Corp. All Rights Reserved.