# C1.Schedule.BaseObject

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Schedule_BaseObject" data-uid="C1.Schedule.BaseObject" class="text-break">BaseObject Class
</h1>
  <div class="markdown level0 summary"><p>The <a class="xref" href="C1.Schedule.BaseObject.html">BaseObject</a> is a base class for resources, labels, statuses,
categories and contacts. It implements base UI properties and persistence.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Schedule.BasePersistableObject.html">BasePersistableObject</a></div>
    <div class="level2"><span class="xref">BaseObject</span></div>
      <div class="level3"><a class="xref" href="C1.Schedule.Category.html">Category</a></div>
      <div class="level3"><a class="xref" href="C1.Schedule.Contact.html">Contact</a></div>
      <div class="level3"><a class="xref" href="C1.Schedule.Label.html">Label</a></div>
      <div class="level3"><a class="xref" href="C1.Schedule.Resource.html">Resource</a></div>
      <div class="level3"><a class="xref" href="C1.Schedule.Status.html">Status</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Schedule.html">C1.Schedule</a></h6>
  <h6><strong>Assembly</strong>: C1.ScheduleCore.dll</h6>
  <h5 id="C1_Schedule_BaseObject_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class BaseObject : BasePersistableObject, INotifyPropertyChanged, ISerializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class BaseObject
    Inherits BasePersistableObject
    Implements INotifyPropertyChanged, ISerializable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Schedule_BaseObject__ctor" data-uid="C1.Schedule.BaseObject.#ctor">
          <a class="xref" href="C1.Schedule.BaseObject.-ctor.html#C1_Schedule_BaseObject__ctor">BaseObject()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates the new <a class="xref" href="C1.Schedule.BaseObject.html">BaseObject</a> object with default settings.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_BaseObject__ctor_System_Drawing_Color_System_String_System_String_" data-uid="C1.Schedule.BaseObject.#ctor(System.Drawing.Color,System.String,System.String)">
          <a class="xref" href="C1.Schedule.BaseObject.-ctor.html#C1_Schedule_BaseObject__ctor_System_Drawing_Color_System_String_System_String_">BaseObject(Color, string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates the new <a class="xref" href="C1.Schedule.BaseObject.html">BaseObject</a> object with specified color,
text and menu caption.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_BaseObject__ctor_System_Drawing_Color_System_String_System_String_C1_Schedule_C1Brush_" data-uid="C1.Schedule.BaseObject.#ctor(System.Drawing.Color,System.String,System.String,C1.Schedule.C1Brush)">
          <a class="xref" href="C1.Schedule.BaseObject.-ctor.html#C1_Schedule_BaseObject__ctor_System_Drawing_Color_System_String_System_String_C1_Schedule_C1Brush_">BaseObject(Color, string, string, C1Brush)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates the new <a class="xref" href="C1.Schedule.BaseObject.html">BaseObject</a> object with specified parameters.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_BaseObject__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="C1.Schedule.BaseObject.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="C1.Schedule.BaseObject.-ctor.html#C1_Schedule_BaseObject__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">BaseObject(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Special constructor for deserialization.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_BaseObject__ctor_System_String_" data-uid="C1.Schedule.BaseObject.#ctor(System.String)">
          <a class="xref" href="C1.Schedule.BaseObject.-ctor.html#C1_Schedule_BaseObject__ctor_System_String_">BaseObject(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates the new <a class="xref" href="C1.Schedule.BaseObject.html">BaseObject</a> object with specified text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_BaseObject__ctor_System_String_System_String_" data-uid="C1.Schedule.BaseObject.#ctor(System.String,System.String)">
          <a class="xref" href="C1.Schedule.BaseObject.-ctor.html#C1_Schedule_BaseObject__ctor_System_String_System_String_">BaseObject(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates the new <a class="xref" href="C1.Schedule.BaseObject.html">BaseObject</a> object with specified text and menu caption.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Schedule_BaseObject_Brush" data-uid="C1.Schedule.BaseObject.Brush">
          <a class="xref" href="C1.Schedule.BaseObject.Brush.html#C1_Schedule_BaseObject_Brush">Brush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the brush used to fill the user interface object's image.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_BaseObject_Color" data-uid="C1.Schedule.BaseObject.Color">
          <a class="xref" href="C1.Schedule.BaseObject.Color.html#C1_Schedule_BaseObject_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the user interface object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_BaseObject_MenuCaption" data-uid="C1.Schedule.BaseObject.MenuCaption">
          <a class="xref" href="C1.Schedule.BaseObject.MenuCaption.html#C1_Schedule_BaseObject_MenuCaption">MenuCaption</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the menu caption for the user interface object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_BaseObject_Text" data-uid="C1.Schedule.BaseObject.Text">
          <a class="xref" href="C1.Schedule.BaseObject.Text.html#C1_Schedule_BaseObject_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text which identifies a user interface object.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Schedule_BaseObject_FromXml_System_Xml_XmlNode_" data-uid="C1.Schedule.BaseObject.FromXml(System.Xml.XmlNode)">
          <a class="xref" href="C1.Schedule.BaseObject.FromXml.html#C1_Schedule_BaseObject_FromXml_System_Xml_XmlNode_">FromXml(XmlNode)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads an object from the specified <span class="xref">System.Xml.XmlNode</span>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_BaseObject_FromXml_System_Xml_XmlReader_" data-uid="C1.Schedule.BaseObject.FromXml(System.Xml.XmlReader)">
          <a class="xref" href="C1.Schedule.BaseObject.FromXml.html#C1_Schedule_BaseObject_FromXml_System_Xml_XmlReader_">FromXml(XmlReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads an object from the specified <span class="xref">System.Xml.XmlReader</span>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_BaseObject_ToString" data-uid="C1.Schedule.BaseObject.ToString">
          <a class="xref" href="C1.Schedule.BaseObject.ToString.html#C1_Schedule_BaseObject_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Overrides the default behavior.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_BaseObject_ToXml_System_Xml_XmlWriter_" data-uid="C1.Schedule.BaseObject.ToXml(System.Xml.XmlWriter)">
          <a class="xref" href="C1.Schedule.BaseObject.ToXml.html#C1_Schedule_BaseObject_ToXml_System_Xml_XmlWriter_">ToXml(XmlWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves an object into specified <span class="xref">System.Xml.XmlWriter</span>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
