This documentation is archived and is not being maintained.

Style Constant Changes in Visual Basic .NET

The following tables show the Visual Basic 6.0 Style constants and values and their Visual Basic .NET equivalents.

ComboBox Style Constants

Visual Basic 6.0Visual Basic .NET Equivalent
vbComboDropdown (0)System.Windows.Forms.ComboBoxStyle.DropDown
vbComboSimple (1)System.Windows.Forms.ComboBoxStyle.Simple
vbComboDropdownList (2)System.Windows.Forms.ComboBoxStyle.DropDownList

CheckBox and OptionButton Style Constants

Visual Basic 6.0Visual Basic .NET Equivalent
VbButtonStandard (0)System.Windows.Forms.Appearance.Normal
VbButtonGraphical (1)System.Windows.Forms.Appearance.Button
Note   In Visual Basic 6.0, Style constants were also defined for CommandButton and ListBox controls. There are no equivalents in Visual Basic .NET. For details, see Style Property Changes in Visual Basic .NET or ListBox Control Changes in Visual Basic .NET.| Constants and Enumerations

See Also

Constant Changes in Visual Basic .NET | ComboBox Control Changes in Visual Basic .NET | Constants and Enumerations

Show: