Intersoft WebCombo Documentation
Width Property
See Also  Send Feedback
ISNet.WebUI.WebCombo Namespace > WebComboColumn Class : Width Property






Specifies the width of column Specifies the width of the column.

Syntax

Visual Basic (Declaration) 
<ISNet.Serialization.BinarySerializableAttribute()>
<DescriptionAttribute("Specifies the width of the column.")>
<DefaultValueAttribute()>
<ISNet.Serialization.XmlSerializableAttribute()>
<NotifyParentPropertyAttribute(True)>
Public Property Width As Unit
Visual Basic (Usage)Copy Code
Dim instance As WebComboColumn
Dim value As Unit
 
instance.Width = value
 
value = instance.Width
C# 
[ISNet.Serialization.BinarySerializableAttribute()]
[DescriptionAttribute("Specifies the width of the column.")]
[DefaultValueAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
public Unit Width {get; set;}
Delphi 
public read-write property Width: Unit; 
JScript 
ISNet.Serialization.BinarySerializableAttribute()
DescriptionAttribute("Specifies the width of the column.")
DefaultValueAttribute()
ISNet.Serialization.XmlSerializableAttribute()
NotifyParentPropertyAttribute()
public function get,set Width : Unit
Managed Extensions for C++ 
[ISNet.Serialization.BinarySerializableAttribute()]
[DescriptionAttribute("Specifies the width of the column.")]
[DefaultValueAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
public: __property Unit get_Width();
public: __property void set_Width( 
   Unit value
);
C++/CLI 
[ISNet.Serialization.BinarySerializableAttribute()]
[DescriptionAttribute("Specifies the width of the column.")]
[DefaultValueAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
public:
property Unit Width {
   Unit get();
   void set (    Unit value);
}

Remarks

The value of this property Empty by default. WebCombo control will use ColumnWidthDefault property as the default column width for the second and the rest columns. 

When working in MultipleColumns mode, WebCombo always set the 1st column's width to width of the WebCombo control. This is based on the standard behavior of Windows GUI.

You may manually assign column's width from anywhere in the code.

This property is leave to Empty by default. WebCombo control will use ColumnWidthDefault property as the default column width for the 2nd and the rest columns.

When working in MultipleColumns mode, WebCombo always set the 1st column's width to width of the WebCombo control. This is based on the standard behavior of Windows GUI.

You may manually assign column's width from anywhere in the code.

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.