Label Control Properties in VB.NET

How to use label control properties in VB.NET?

Explanation

Label Control Properties

Following table lists the Properties used commonly with the Label Control in VB.net 2008.
Properties:
Properties Description
AutoSize This property is used to set or get a value specifying if the controlshould be automatically resized.
BorderStyle This property is used to get or set the border style for the control.
FlatStyle This property is used to get or set the flat style appearance of label control.
Image Property is used to set or get the image that is displayed on a label.
ImageAlign Property is used to set or get the alignment of an image that is displayed in the control.
PreferredHeight Property is used to get the preferred height of the control.
PreferredWidth Property is used get the preferred width of the control.
TextAlign Property is used set or get the alignment of text in the control.
UseMnemonic Property is used set or get a value specifying whether to consider ampersand as an access key character.

Visual Basic Tutorial


Ask Questions

Ask Question