# C1.Framework.ValueElement

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Framework_ValueElement" data-uid="C1.Framework.ValueElement" class="text-break">ValueElement Class
</h1>
  <div class="markdown level0 summary"><p>Element that displays a simple value (numbers, dates, etc).</p>
<p>The element's <a class="xref" href="C1.Framework.Style.html">Style</a> is responsible for formatting the value 
(with <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iformattable">IFormattable</a>).</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.Framework.Element.html">Element</a></div>
    <div class="level2"><a class="xref" href="C1.Framework.ContentElement.html">ContentElement</a></div>
    <div class="level3"><span class="xref">ValueElement</span></div>
      <div class="level4"><a class="xref" href="C1.Framework.GridColumn.html">GridColumn</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.Win.Accessibility.ISupportUia.html">ISupportUia</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Framework.html">C1.Framework</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
  <h5 id="C1_Framework_ValueElement_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ValueElement : ContentElement, ISupportUia</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ValueElement
    Inherits ContentElement
    Implements ISupportUia</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_Framework_ValueElement__ctor" data-uid="C1.Framework.ValueElement.#ctor">
          <a class="xref" href="C1.Framework.ValueElement.-ctor.html#C1_Framework_ValueElement__ctor">ValueElement()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.ValueElement.html">ValueElement</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ValueElement__ctor_C1_Framework_Style_System_Object_" data-uid="C1.Framework.ValueElement.#ctor(C1.Framework.Style,System.Object)">
          <a class="xref" href="C1.Framework.ValueElement.-ctor.html#C1_Framework_ValueElement__ctor_C1_Framework_Style_System_Object_">ValueElement(Style, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.ValueElement.html">ValueElement</a> class with the specified value and style settings.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ValueElement__ctor_System_Object_" data-uid="C1.Framework.ValueElement.#ctor(System.Object)">
          <a class="xref" href="C1.Framework.ValueElement.-ctor.html#C1_Framework_ValueElement__ctor_System_Object_">ValueElement(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.ValueElement.html">ValueElement</a> class with the specified value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Framework_ValueElement__value" data-uid="C1.Framework.ValueElement._value">
          <a class="xref" href="C1.Framework.ValueElement._value.html">_value</a>
        </td>
        <td class="markdown level1 summary"></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_Framework_ValueElement_Value" data-uid="C1.Framework.ValueElement.Value">
          <a class="xref" href="C1.Framework.ValueElement.Value.html#C1_Framework_ValueElement_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the current value.</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_Framework_ValueElement_GetValue" data-uid="C1.Framework.ValueElement.GetValue">
          <a class="xref" href="C1.Framework.ValueElement.GetValue.html#C1_Framework_ValueElement_GetValue">GetValue()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value represented by this <a class="xref" href="C1.Framework.ContentElement.html">ContentElement</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
