Label
Wisej.Web.Label
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents a label control.
public class Label : Control, IImagePublic Class Label
Inherits Control
Implements IImageConstructors
Label()
Initializes a new instance of the Label class.
Properties
AllowHtml
Boolean: Returns or sets a value indicating that the control can display HTML in the Text property.
Newlines (CRLF) are converted to when allowHtml is false, or when allowHtml is true and the text doesn't contain any html.
AutoEllipsis
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.
AutoSize
Boolean: Returns or sets a value that indicates whether the control resizes based on its contents.
BorderStyle
BorderStyle: Indicates the border style for the control.
CharacterCasing
CharacterCasing: Returns or sets the case of the text to display to the user.
EnableNativeContextMenu
Boolean: Enables or disables the browser's context menu.
Image
Image: Returns or sets the image that is displayed on a Label.
ImageAlign
ContentAlignment: Returns or sets the alignment of an image that is displayed in the control.
ImageIndex
Int32: Returns or sets the image list index value of the image displayed on the label control.
Throws:
ArgumentOutOfRangeException The specified index is less than -1.
ImageKey
String: Returns or sets the key accessor for the image in the ImageList.
ImageList
ImageList: Returns or sets the ImageList that contains the images to display in the Label control.
ImageSource
String: Returns or sets the theme name or URL for the image to display in the Label.
Text
String: Returns or sets the text associated with this control.
Newlines (CRLF) are converted to when allowHtml is false, or when allowHtml is true and the text doesn't contain any html.
TextAlign
ContentAlignment: Returns or sets the alignment of text in the label.
UseMnemonic
Boolean: Returns or sets whether the first character that is preceded by an ampersand (&) is used as the mnemonic key of the control.
Inherited By
Represents an hyper-link control.
Implements
Bindable components implement this interface.
Provides access to common image properties across the controls that implement this interface.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
Last updated
Was this helpful?

