# C1.Win.C1DynamicHelp.MapItem

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_C1DynamicHelp_MapItem" data-uid="C1.Win.C1DynamicHelp.MapItem" class="text-break">MapItem Class
</h1>
  <div class="markdown level0 summary"><p>Class containing a pair consisting of a topic and a user action triggering its display.</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"><span class="xref">MapItem</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.C1DynamicHelp.html">C1.Win.C1DynamicHelp</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1DynamicHelp.4.8.dll</h6>
  <h5 id="C1_Win_C1DynamicHelp_MapItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class MapItem</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class MapItem</code></pre>
  </div>
  <h5 id="C1_Win_C1DynamicHelp_MapItem_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>Objects of this class are stored in the <a class="xref" href="C1.Win.C1DynamicHelp.TopicMap.html">TopicMap</a> dictionary. Map items are created automatically at
design time and in authoring mode. You can also create them at run time programmatically. Map items created at design time have their
<a class="xref" href="C1.Win.C1DynamicHelp.MapItem.ItemType.html#C1_Win_C1DynamicHelp_MapItem_ItemType">ItemType</a> property set to <a class="xref" href="C1.Win.C1DynamicHelp.MapItemType.html#C1_Win_C1DynamicHelp_MapItemType_Static">Static</a>, whereas map
items created in authoring mode have their <a class="xref" href="C1.Win.C1DynamicHelp.MapItem.ItemType.html#C1_Win_C1DynamicHelp_MapItem_ItemType">ItemType</a> property set to
<a class="xref" href="C1.Win.C1DynamicHelp.MapItemType.html#C1_Win_C1DynamicHelp_MapItemType_Dynamic">MapItemType.Dynamic</a>. If you create a map item programmatically, you can set
this property to any of the two values.</p>
</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_C1DynamicHelp_MapItem__ctor" data-uid="C1.Win.C1DynamicHelp.MapItem.#ctor">
          <a class="xref" href="C1.Win.C1DynamicHelp.MapItem.-ctor.html#C1_Win_C1DynamicHelp_MapItem__ctor">MapItem()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new of instance of a <a class="xref" href="C1.Win.C1DynamicHelp.MapItem.html">MapItem</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_C1DynamicHelp_MapItem_HelpTopic" data-uid="C1.Win.C1DynamicHelp.MapItem.HelpTopic">
          <a class="xref" href="C1.Win.C1DynamicHelp.MapItem.HelpTopic.html#C1_Win_C1DynamicHelp_MapItem_HelpTopic">HelpTopic</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Win.C1DynamicHelp.HelpTopic.html">HelpTopic</a> object by the <a class="xref" href="C1.Win.C1DynamicHelp.MapItem.Url.html#C1_Win_C1DynamicHelp_MapItem_Url">Url</a> value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1DynamicHelp_MapItem_HelpTopicTrigger" data-uid="C1.Win.C1DynamicHelp.MapItem.HelpTopicTrigger">
          <a class="xref" href="C1.Win.C1DynamicHelp.MapItem.HelpTopicTrigger.html#C1_Win_C1DynamicHelp_MapItem_HelpTopicTrigger">HelpTopicTrigger</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies what triggers the topic display.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1DynamicHelp_MapItem_ItemType" data-uid="C1.Win.C1DynamicHelp.MapItem.ItemType">
          <a class="xref" href="C1.Win.C1DynamicHelp.MapItem.ItemType.html#C1_Win_C1DynamicHelp_MapItem_ItemType">ItemType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets an item type.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1DynamicHelp_MapItem_ShowDefaultTopicFirst" data-uid="C1.Win.C1DynamicHelp.MapItem.ShowDefaultTopicFirst">
          <a class="xref" href="C1.Win.C1DynamicHelp.MapItem.ShowDefaultTopicFirst.html#C1_Win_C1DynamicHelp_MapItem_ShowDefaultTopicFirst">ShowDefaultTopicFirst</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the default topic (the topic associated with the form)
should be always displayed when the form is loaded and becomes visible, even if a UI element
inside the form got focus and has a topic associated with it.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1DynamicHelp_MapItem_UIElement" data-uid="C1.Win.C1DynamicHelp.MapItem.UIElement">
          <a class="xref" href="C1.Win.C1DynamicHelp.MapItem.UIElement.html#C1_Win_C1DynamicHelp_MapItem_UIElement">UIElement</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a UI element for which a help topic is displayed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1DynamicHelp_MapItem_Url" data-uid="C1.Win.C1DynamicHelp.MapItem.Url">
          <a class="xref" href="C1.Win.C1DynamicHelp.MapItem.Url.html#C1_Win_C1DynamicHelp_MapItem_Url">Url</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the URL of a help topic that will be displayed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1DynamicHelp_MapItem_UseDefaultTrigger" data-uid="C1.Win.C1DynamicHelp.MapItem.UseDefaultTrigger">
          <a class="xref" href="C1.Win.C1DynamicHelp.MapItem.UseDefaultTrigger.html#C1_Win_C1DynamicHelp_MapItem_UseDefaultTrigger">UseDefaultTrigger</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether a topic will be displayed depending on its own
<a class="xref" href="C1.Win.C1DynamicHelp.MapItem.HelpTopicTrigger.html#C1_Win_C1DynamicHelp_MapItem_HelpTopicTrigger">HelpTopicTrigger</a> value or on the <a class="xref" href="C1.Win.C1DynamicHelp.C1DynamicHelp.DefaultTrigger.html#C1_Win_C1DynamicHelp_C1DynamicHelp_DefaultTrigger">DefaultTrigger</a> value of the C1DynamicHelp control.</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_C1DynamicHelp_MapItem_ToString" data-uid="C1.Win.C1DynamicHelp.MapItem.ToString">
          <a class="xref" href="C1.Win.C1DynamicHelp.MapItem.ToString.html#C1_Win_C1DynamicHelp_MapItem_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a string representation of a <a class="xref" href="C1.Win.C1DynamicHelp.MapItem.html">MapItem</a>, which is the topic URL.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
