The properties of System.Windows.Forms.Label are listed below. For a list of all members, see the Label Members list.
See Also: Inherited members from System.Windows.Forms.Control
AutoEllipsis | bool.
Gets or sets a value indicating whether the ellipsis character (...) appears at the right edge of the System.Windows.Forms.Label, denoting that the System.Windows.Forms.Label text extends beyond the specified length of the System.Windows.Forms.Label. | |
override | AutoSize | bool.
Gets or sets a value indicating whether the control is automatically resized to display its entire contents. |
override | BackgroundImage | System.Drawing.Image.
Gets or sets the image rendered on the background of the control. |
override | BackgroundImageLayout | ImageLayout.
This property is not relevant for this class. |
BorderStyle | BorderStyle.
Gets or sets the border style for the control. | |
FlatStyle | FlatStyle.
Gets or sets the flat style appearance of the label control. | |
Image | System.Drawing.Image.
Gets or sets the image that is displayed on a System.Windows.Forms.Label. | |
ImageAlign | System.Drawing.ContentAlignment.
Gets or sets the alignment of an image that is displayed in the control. | |
ImageIndex | int.
Gets or sets the index value of the image displayed on the System.Windows.Forms.Label. | |
ImageKey | string.
Gets or sets the key accessor for the image in the Label.ImageList. | |
ImageList | ImageList.
Gets or sets the System.Windows.Forms.ImageList that contains the images to display in the System.Windows.Forms.Label control. | |
ImeMode | ImeMode.
Gets or sets the Input Method Editor (IME) mode supported by this control. | |
[read-only] | PreferredHeight | int.
Gets the preferred height of the control. |
[read-only] | PreferredWidth | int.
Gets the preferred width of the control. |
TabStop | bool.
Gets or sets a value indicating whether the user can tab to the System.Windows.Forms.Label. This property is not used by this class. | |
override | Text | string.
Gets or sets the text associated with this control. |
TextAlign | System.Drawing.ContentAlignment.
Gets or sets the alignment of text in the label. | |
UseCompatibleTextRendering | bool.
Gets or sets a value that determines whether to use the System.Drawing.Graphics class (ndptecgdiplus) or the System.Windows.Forms.TextRenderer class (ndptecgdi) to render text. | |
UseMnemonic | bool.
Gets or sets a value indicating whether the control interprets an ampersand character (&) in the control's Control.Text property to be an access key prefix character. |
[read-only] override | CreateParams | CreateParams.
Gets the required creation parameters when the control handle is created. |
[read-only] override | DefaultImeMode | ImeMode.
Gets the default Input Method Editor (IME) mode supported by this control. |
[read-only] override | DefaultMargin | Padding.
Gets the space, in pixels, that is specified by default between controls. |
[read-only] override | DefaultSize | System.Drawing.Size.
Gets the default size of the control. |
RenderTransparent | bool.
Indicates whether the container control background is rendered on the System.Windows.Forms.Label. |