[]
        
(Showing Draft Content)

C1.Schedule.BaseObject

BaseObject Class

The BaseObject is a base class for resources, labels, statuses, categories and contacts. It implements base UI properties and persistence.

Namespace: C1.Schedule
Assembly: C1.ScheduleCore.dll
Syntax
public class BaseObject : BasePersistableObject, INotifyPropertyChanged, ISerializable

Constructors

Name Description
BaseObject()

Creates the new BaseObject object with default settings.

BaseObject(Color, string, string)

Creates the new BaseObject object with specified color, text and menu caption.

BaseObject(Color, string, string, C1Brush)

Creates the new BaseObject object with specified parameters.

BaseObject(SerializationInfo, StreamingContext)

Special constructor for deserialization.

BaseObject(string)

Creates the new BaseObject object with specified text.

BaseObject(string, string)

Creates the new BaseObject object with specified text and menu caption.

Properties

Name Description
Brush

Gets or sets the brush used to fill the user interface object's image.

Color

Gets or sets the color of the user interface object.

MenuCaption

Gets or sets the menu caption for the user interface object.

Text

Gets or sets the text which identifies a user interface object.

Methods

Name Description
FromXml(XmlNode)

Loads an object from the specified System.Xml.XmlNode.

FromXml(XmlReader)

Loads an object from the specified System.Xml.XmlReader.

ToString()

Overrides the default behavior.

ToXml(XmlWriter)

Saves an object into specified System.Xml.XmlWriter.