Label

Wisej.Web.Label

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.1.0.0)

Represents a label control.

public class Label : Control, IImage

Constructors

Initializes a new instance of the Label class.

Properties

Boolean: Returns or sets a value indicating that the control can display HTML in the Text property. (Default: False)

Newlines (CRLF) are converted to <BR/> when allowHtml is false, or when allowHtml is true and the text doesn't contain any html.

Boolean: Returns or sets whether the ellipsis character (...) appears at the right edge of the label, denoting that the text extends beyond the size of the label. (Default: False)

Boolean: Returns or sets a value that indicates whether the control resizes based on its contents. (Default: False)

BorderStyle: Indicates the border style for the control. (Default: None)

CharacterCasing: Returns or sets the case of the text to display to the user. (Default: Normal)

Boolean: Enables or disables the browser's context menu. (Default: False)

Image: Returns or sets the image that is displayed on a Label.

ContentAlignment: Returns or sets the alignment of an image that is displayed in the control. (Default: MiddleCenter)

Int32: Returns or sets the image list index value of the image displayed on the label control. (Default: -1)

Throws:

String: Returns or sets the key accessor for the image in the ImageList. (Default: "")

ImageList: Returns or sets the ImageList that contains the images to display in the Label control. (Default: null)

String: Returns or sets the theme name or URL for the image to display in the Label.

String: Returns or sets the text associated with this control. (Default: "")

Newlines (CRLF) are converted to <BR/> when allowHtml is false, or when allowHtml is true and the text doesn't contain any html.

ContentAlignment: Returns or sets the alignment of text in the label. (Default: TopLeft)

Boolean: Returns or sets whether the first character that is preceded by an ampersand (&) is used as the mnemonic key of the control. (Default: True)

Inherited By

Implements

Last updated