# GrapeCity.ActiveReports.SectionReportModel.CustomControl

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_SectionReportModel_CustomControl" data-uid="GrapeCity.ActiveReports.SectionReportModel.CustomControl" class="text-break">CustomControl Class
</h1>
  <div class="markdown level0 summary"><p>Control, which hosts user's controls</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="GrapeCity.ActiveReports.SectionReportModel.ARControl.html">ARControl</a></div>
    <div class="level2"><span class="xref">CustomControl</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="GrapeCity.ActiveReports.Controls.Design.IPersistControl.html">IPersistControl</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.html">GrapeCity.ActiveReports.SectionReportModel</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.dll</h6>
  <h5 id="GrapeCity_ActiveReports_SectionReportModel_CustomControl_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class CustomControl : ARControl, IComponent, IDisposable, IPersistControl, ISupportInitialize</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="GrapeCity_ActiveReports_SectionReportModel_CustomControl__ctor" data-uid="GrapeCity.ActiveReports.SectionReportModel.CustomControl.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.CustomControl.-ctor.html#GrapeCity_ActiveReports_SectionReportModel_CustomControl__ctor">CustomControl()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.CustomControl.html">CustomControl</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_CustomControl__ctor_System_Type_" data-uid="GrapeCity.ActiveReports.SectionReportModel.CustomControl.#ctor(System.Type)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.CustomControl.-ctor.html#GrapeCity_ActiveReports_SectionReportModel_CustomControl__ctor_System_Type_">CustomControl(Type)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.CustomControl.html">CustomControl</a> class.</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="GrapeCity_ActiveReports_SectionReportModel_CustomControl_Control" data-uid="GrapeCity.ActiveReports.SectionReportModel.CustomControl.Control">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.CustomControl.Control.html#GrapeCity_ActiveReports_SectionReportModel_CustomControl_Control">Control</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the control.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_CustomControl_ControlType" data-uid="GrapeCity.ActiveReports.SectionReportModel.CustomControl.ControlType">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.CustomControl.ControlType.html#GrapeCity_ActiveReports_SectionReportModel_CustomControl_ControlType">ControlType</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_CustomControl_ImageType" data-uid="GrapeCity.ActiveReports.SectionReportModel.CustomControl.ImageType">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.CustomControl.ImageType.html#GrapeCity_ActiveReports_SectionReportModel_CustomControl_ImageType">ImageType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the type of the image.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_CustomControl_Type" data-uid="GrapeCity.ActiveReports.SectionReportModel.CustomControl.Type">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.CustomControl.Type.html#GrapeCity_ActiveReports_SectionReportModel_CustomControl_Type">Type</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the control type.</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="GrapeCity_ActiveReports_SectionReportModel_CustomControl_BeginInit" data-uid="GrapeCity.ActiveReports.SectionReportModel.CustomControl.BeginInit">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.CustomControl.BeginInit.html#GrapeCity_ActiveReports_SectionReportModel_CustomControl_BeginInit">BeginInit()</a>
        </td>
        <td class="markdown level1 summary"><p>Signals the object that initialization is starting.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_CustomControl_Dispose_System_Boolean_" data-uid="GrapeCity.ActiveReports.SectionReportModel.CustomControl.Dispose(System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.CustomControl.Dispose.html#GrapeCity_ActiveReports_SectionReportModel_CustomControl_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Releases unmanaged and - optionally - managed resources.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_CustomControl_EndInit" data-uid="GrapeCity.ActiveReports.SectionReportModel.CustomControl.EndInit">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.CustomControl.EndInit.html#GrapeCity_ActiveReports_SectionReportModel_CustomControl_EndInit">EndInit()</a>
        </td>
        <td class="markdown level1 summary"><p>Signals the object that initialization is complete.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_CustomControl_SetProperty_System_Object_System_String_System_Object_" data-uid="GrapeCity.ActiveReports.SectionReportModel.CustomControl.SetProperty(System.Object,System.String,System.Object)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.CustomControl.SetProperty.html#GrapeCity_ActiveReports_SectionReportModel_CustomControl_SetProperty_System_Object_System_String_System_Object_">SetProperty(object, string, object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_CustomControl_WriteXml_System_Xml_XmlElement_" data-uid="GrapeCity.ActiveReports.SectionReportModel.CustomControl.WriteXml(System.Xml.XmlElement)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.CustomControl.WriteXml.html#GrapeCity_ActiveReports_SectionReportModel_CustomControl_WriteXml_System_Xml_XmlElement_">WriteXml(XmlElement)</a>
        </td>
        <td class="markdown level1 summary"><p>Writes the control as XML to specified XML node.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.ApplyDefaults.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_ApplyDefaults__1___0_">ObjectExtensions.ApplyDefaults&lt;TObject&gt;(TObject)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.SetValue.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_SetValue__1___0_System_ComponentModel_PropertyDescriptor_System_String_">ObjectExtensions.SetValue&lt;TObject&gt;(TObject, PropertyDescriptor, string)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.ToNameValueCollection.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_ToNameValueCollection_System_Object_">ObjectExtensions.ToNameValueCollection(object)</a>
  </div>

</div>
