PictureBox
Upgrades to (1) System.Windows.Forms.PictureBox, or (2) System.Windows.Forms.Panel if the control has child controls.
Visual Basic 6 | Type | Visual Basic .NET |
Align | Property | Dock |
Appearance | Property | Used to determine BorderStyle |
AutoRedraw | Property | No mapping |
AutoSize | Property | (1) SizeMode |
BackColor | Property | BackColor |
BorderStyle | Property | Used to determine BorderStyle |
CausesValidation | Property | No mapping |
Change | Event | No mapping |
Circle | Method | No mapping |
Click | Event | Click |
ClipControls | Property | No mapping |
Cls | Method | No mapping |
Container | Property | Parent |
CurrentX | Property | No mapping |
CurrentY | Property | No mapping |
DataChanged | Property | No mapping |
DataField | Property | For ADO, used in VB6_AddADODatabinding method |
DataFormat | Property | No mapping |
DataMember | Property | For ADO, used in VB6_AddADODatabinding method |
DataSource | Property | For ADO, used in VB6_AddADODatabinding method |
DblClick | Event | DoubleClick |
Drag | Method | No mapping |
DragDrop | Event | No mapping |
DragIcon | Property | No mapping |
DragMode | Property | No mapping |
DragOver | Event | No mapping |
DrawMode | Property | No mapping |
DrawStyle | Property | No mapping |
DrawWidth | Property | No mapping |
Enabled | Property | Enabled |
FillColor | Property | No mapping |
FillStyle | Property | No mapping |
Font | Property | Font |
FontBold | Property | Font.Bold, VB6.FontChangeBold |
FontItalic | Property | Font.Italic, VB6.FontChangeItalic |
FontName | Property | Font.Name, VB6.FontChangeName |
FontSize | Property | Font.SizeInPoints, VB6.FontChangeSize |
FontStrikethru | Property | Font.StrikeOut, VB6.FontChangeStrikeOut |
FontTransparent | Property | No mapping |
FontUnderline | Property | Font.Underline, VB6.FontChangeUnderline |
ForeColor | Property | ForeColor |
GotFocus | Event | No mapping |
HasDC | Property | No mapping |
HDC | Property | No mapping |
Height | Property | Height |
HelpContextID | Property | No mapping |
HWnd | Property | Handle |
Image | Property | No mapping |
IMEMode | Property | No mapping |
Index | Property | Index property of ControlArray object |
KeyDown | Event | No mapping |
KeyPress | Event | No mapping |
KeyUp | Event | No mapping |
Left | Property | Left |
Line | Method | No mapping |
LinkClose | Event | No mapping |
LinkError | Event | No mapping |
LinkExecute | Method | No mapping |
LinkItem | Property | No mapping |
LinkMode | Property | No mapping |
LinkNotify | Event | No mapping |
LinkOpen | Event | No mapping |
LinkPoke | Method | No mapping |
LinkRequest | Method | No mapping |
LinkSend | Method | No mapping |
LinkTimeout | Property | No mapping |
LinkTopic | Property | No mapping |
LostFocus | Event | No mapping |
MouseDown | Event | MouseDown |
MouseIcon | Property | No mapping |
MouseMove | Event | MouseMove |
MousePointer | Property | Cursor |
MouseUp | Event | MouseUp |
Move | Method | SetBounds |
Name | Property | Name |
OLECompleteDrag | Event | No mapping |
OLEDrag | Method | No mapping |
OLEDragDrop | Event | No mapping |
OLEDragMode | Property | No mapping |
OLEDragOver | Event | No mapping |
OLEDropMode | Property | No mapping |
OLEGiveFeedback | Event | No mapping |
OLESetData | Event | No mapping |
OLEStartDrag | Event | No mapping |
Paint | Event | Paint |
PaintPicture | Method | No mapping |
Parent | Property | FindForm |
Picture | Property | (1) Image (2) BackgroundImage |
Point | Method | No mapping |
PSet | Method | No mapping |
Refresh | Method | Refresh |
Resize | Event | Resize |
RightToLeft | Property | RightToLeft |
Scale | Method | No mapping |
ScaleHeight | Property | At run time, x.ClientRectangle.Height for Get |
ScaleLeft | Property | No mapping |
ScaleMode | Property | No mapping |
ScaleTop | Property | No mapping |
ScaleWidth | Property | At run time, x.ClientRectangle.Width for Get |
ScaleX | Method | No mapping |
ScaleY | Method | No mapping |
SetFocus | Method | Focus |
ShowWhatsThis | Method | No mapping |
TabIndex | Property | TabIndex |
TabStop | Property | TabStop |
Tag | Property | Tag |
TextHeight | Method | No mapping |
TextWidth | Method | No mapping |
ToolTipText | Property | SetToolTip method on ToolTip component |
Top | Property | Top |
Validate | Event | Validating |
Visible | Property | Visible |
WhatsThisHelpID | Property | No mapping |
Width | Property | Width |
ZOrder | Method | VB6.ZOrder method, or BringToFront if Position parameter is 0, SendToBack if Position parameter is 1 |