# C1.Win.Localization.C1CategoryAttribute

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Localization_C1CategoryAttribute" data-uid="C1.Win.Localization.C1CategoryAttribute" class="text-break">C1CategoryAttribute Class
</h1>
  <div class="markdown level0 summary"><p>C1CategoryAttribute replaces the CategoryAttribute
and uses the StringsManager and Strings classes to
return the localized Attribute string.</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="https://learn.microsoft.com/dotnet/api/system.attribute">Attribute</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.categoryattribute">CategoryAttribute</a></div>
    <div class="level3"><span class="xref">C1CategoryAttribute</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Localization.html">C1.Win.Localization</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
  <h5 id="C1_Win_Localization_C1CategoryAttribute_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[AttributeUsage(AttributeTargets.All)]
public class C1CategoryAttribute : CategoryAttribute</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;AttributeUsage(AttributeTargets.All)&gt;
Public Class C1CategoryAttribute
    Inherits CategoryAttribute</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_Localization_C1CategoryAttribute__ctor_System_Type_System_String_" data-uid="C1.Win.Localization.C1CategoryAttribute.#ctor(System.Type,System.String)">
          <a class="xref" href="C1.Win.Localization.C1CategoryAttribute.-ctor.html#C1_Win_Localization_C1CategoryAttribute__ctor_System_Type_System_String_">C1CategoryAttribute(Type, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Localization.C1CategoryAttribute.html">C1CategoryAttribute</a> attribute.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Localization_C1CategoryAttribute__ctor_System_Type_System_String_System_String_" data-uid="C1.Win.Localization.C1CategoryAttribute.#ctor(System.Type,System.String,System.String)">
          <a class="xref" href="C1.Win.Localization.C1CategoryAttribute.-ctor.html#C1_Win_Localization_C1CategoryAttribute__ctor_System_Type_System_String_System_String_">C1CategoryAttribute(Type, string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Localization.C1CategoryAttribute.html">C1CategoryAttribute</a> attribute.</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_Localization_C1CategoryAttribute_GetLocalizedString_System_String_" data-uid="C1.Win.Localization.C1CategoryAttribute.GetLocalizedString(System.String)">
          <a class="xref" href="C1.Win.Localization.C1CategoryAttribute.GetLocalizedString.html#C1_Win_Localization_C1CategoryAttribute_GetLocalizedString_System_String_">GetLocalizedString(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Looks up the localized name of the specified category.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
