# C1.Win.GanttView.Resource

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_GanttView_Resource" data-uid="C1.Win.GanttView.Resource" class="text-break">Resource Class
</h1>
  <div class="markdown level0 summary"><p>Represents a resource in the project.</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.Win.GanttView.BaseObject.html">BaseObject</a></div>
    <div class="level2"><span class="xref">Resource</span></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.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.GanttView.html">C1.Win.GanttView</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.GanttView.10.dll</h6>
  <h5 id="C1_Win_GanttView_Resource_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(ResourceConverter))]
public class Resource : BaseObject, INotifyPropertyChanged, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(ResourceConverter))&gt;
Public Class Resource
    Inherits BaseObject
    Implements INotifyPropertyChanged, ICloneable</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_Win_GanttView_Resource__ctor" data-uid="C1.Win.GanttView.Resource.#ctor">
          <a class="xref" href="C1.Win.GanttView.Resource.-ctor.html#C1_Win_GanttView_Resource__ctor">Resource()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.Win.GanttView.Resource.html">Resource</a>.</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_Win_GanttView_Resource_Cost" data-uid="C1.Win.GanttView.Resource.Cost">
          <a class="xref" href="C1.Win.GanttView.Resource.Cost.html#C1_Win_GanttView_Resource_Cost">Cost</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the cost of the resource.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_Resource_Name" data-uid="C1.Win.GanttView.Resource.Name">
          <a class="xref" href="C1.Win.GanttView.Resource.Name.html#C1_Win_GanttView_Resource_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the resource name.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_Resource_ResourceType" data-uid="C1.Win.GanttView.Resource.ResourceType">
          <a class="xref" href="C1.Win.GanttView.Resource.ResourceType.html#C1_Win_GanttView_Resource_ResourceType">ResourceType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the type of the resource.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_Resource_UnitOfMeasure" data-uid="C1.Win.GanttView.Resource.UnitOfMeasure">
          <a class="xref" href="C1.Win.GanttView.Resource.UnitOfMeasure.html#C1_Win_GanttView_Resource_UnitOfMeasure">UnitOfMeasure</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the unit of measure for the resource.</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_Win_GanttView_Resource_ResetCost" data-uid="C1.Win.GanttView.Resource.ResetCost">
          <a class="xref" href="C1.Win.GanttView.Resource.ResetCost.html#C1_Win_GanttView_Resource_ResetCost">ResetCost()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the value of the <a class="xref" href="C1.Win.GanttView.Resource.Cost.html#C1_Win_GanttView_Resource_Cost">Cost</a> property.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
