The BaseObject type exposes the following members.

Constructors

  Name Description
Public method BaseObject()()()()
Creates the new BaseObject object with default settings.
Public method BaseObject(String)
Creates the new BaseObject object with specified text.
Public method BaseObject(String, String)
Creates the new BaseObject object with specified text and menu caption.
Public method BaseObject(Color, String, String)
Creates the new BaseObject object with specified color, text and menu caption.
Public method BaseObject(Color, String, String, C1Brush)
Creates the new BaseObject object with specified parameters.

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.
(Overrides BasePersistableObject..::..FromXml(XmlNode).)
Public method FromXml(XmlReader)
Loads an object from the specified XmlReader.
(Overrides BasePersistableObject..::..FromXml(XmlReader).)
Public method FromXml(Stream)
Loads an object from the specified Stream.
(Inherited from BasePersistableObject.)
Public method ToString
Overrides the default behavior.
(Overrides Object..::..ToString()()()().)
Public method ToXml(XmlWriter)
Saves an object into specified XmlWriter.
(Overrides BasePersistableObject..::..ToXml(XmlWriter).)
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.
Public property Color
Gets or sets the color of the user interface object.
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.
Public property Text
Gets or sets the text which identifies a user interface object.

See Also