The Label type exposes the following members.

Constructors

  Name Description
Public method Label()()()()
Creates the new Label object with default parameters.
Public method Label(Guid)
Initializes a new instance of the Label class with the specified key.
Public method Label(Int32)
Initializes a new instance of the Label class with the specified key.
Public method Label(String)
Creates custom Label object with specified text.
Public method Label(String, String)
Creates custom Label object with specified text and menu caption.
Public method Label(Color, String, String)
Creates custom Label object with specified color, text and menu caption.

Methods

  Name Description
Public method BeginEdit
Brings the object in edit mode.
(Inherited from BasePersistableObject.)
Public method CancelEdit
Discards changes since the last BeginEdit()()()() call.
(Inherited from BasePersistableObject.)
Public method EndEdit
Finishes edit mode started by the BeginEdit()()()() method and updates a corresponding data source item.
(Inherited from BasePersistableObject.)
Public method FromXml(XmlNode)
Loads an object from the specified XmlNode.
(Inherited from BaseObject.)
Public method FromXml(XmlReader)
Loads an object from the specified XmlReader.
(Inherited from BaseObject.)
Public method FromXml(Stream)
Loads an object from the specified Stream.
(Inherited from BasePersistableObject.)
Public method ToString
Overrides the default behavior.
(Inherited from BaseObject.)
Public method ToXml(XmlWriter)
Saves an object into specified XmlWriter.
(Inherited from BaseObject.)
Public method ToXml(Stream)
Saves an object to the specified Stream.
(Inherited from BasePersistableObject.)

Properties

  Name Description
Public property Brush
Gets or sets the brush used to fill the user interface object's image.
(Inherited from BaseObject.)
Public property Color
Gets or sets the color of the user interface object.
(Inherited from BaseObject.)
Public property IsEdit
Indicates whether the object is in edit mode, which is started using the BeginEdit()()()() method.
(Inherited from BasePersistableObject.)
Public property Key
Gets an array of objects representing the key of the BasePersistableObject.
(Inherited from BasePersistableObject.)
Public property MenuCaption
Gets or sets the menu caption for the user interface object.
(Inherited from BaseObject.)
Public property Text
Gets or sets the text which identifies a user interface object.
(Inherited from BaseObject.)

See Also