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






Specifies the WebGrid width's adjustment when work in AutoWidth mode.

Syntax

Visual Basic (Declaration) 
<DefaultValueAttribute()>
<DescriptionAttribute("Specifies the WebGrid width's adjustment.")>
<ISNet.Serialization.BinarySerializableAttribute()>
<ISNet.Serialization.XmlSerializableAttribute()>
<NotifyParentPropertyAttribute(True)>
Public Property SizeWidthBy As Integer
Visual Basic (Usage)Copy Code
Dim instance As LayoutSet
Dim value As Integer
 
instance.SizeWidthBy = value
 
value = instance.SizeWidthBy
C# 
[DefaultValueAttribute()]
[DescriptionAttribute("Specifies the WebGrid width's adjustment.")]
[ISNet.Serialization.BinarySerializableAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
public int SizeWidthBy {get; set;}
Delphi 
public read-write property SizeWidthBy: Integer; 
JScript 
DefaultValueAttribute()
DescriptionAttribute("Specifies the WebGrid width's adjustment.")
ISNet.Serialization.BinarySerializableAttribute()
ISNet.Serialization.XmlSerializableAttribute()
NotifyParentPropertyAttribute()
public function get,set SizeWidthBy : int
Managed Extensions for C++ 
[DefaultValueAttribute()]
[DescriptionAttribute("Specifies the WebGrid width's adjustment.")]
[ISNet.Serialization.BinarySerializableAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
public: __property int get_SizeWidthBy();
public: __property void set_SizeWidthBy( 
   int value
);
C++/CLI 
[DefaultValueAttribute()]
[DescriptionAttribute("Specifies the WebGrid width's adjustment.")]
[ISNet.Serialization.BinarySerializableAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
public:
property int SizeWidthBy {
   int get();
   void set (    int value);
}

Remarks

By default, WebGrid can automatically calculate the available width in a page and use it as the height of the control. The feature called AutoLayout allows the control to automatically resize as user resized the browser. This enables the control to work in resolution-independent applications.

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.