Visual C#.Net Tutorial

Define Visual C#.Net

C# Form Control

C# Label Control

C# TextBox Control

C# Button Control

C# RadioButton Control

C# CheckBox Control

C# CheckListBox

C# ListBox Control

C# ComboBox Control

C# LinkLabel Control

C# DateTime DataType

C# DateTimePicker

C# NumericUpDown

C# RandomNumber

C# PictureBox

C# ProgressBar

C# Timer Control

C# ToolTip

C# TabControl

C# RichTextBox

C# MessageBox

C# Menu Control

C# Toolbars

C# Dialogs Box

Page Stats

Visitor: 2

Label Control in C#.Net

The Label control (System.Windows.Forms.Label) is used to display text on the form. Common properties are:

Attributes Description
AutoSize If true, the size of the borders of the label control in the designer will be resized automatically depending on the text inside it.
BorderStyle Specifies the type of border around the label.
Font Used to change the font properties of the text inside the label control.
Text The text of the label.
TextAlign The alignment of the text inside the Label control.