# DDCssLib.CSSValue.SetInheritValue

## Content

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



<h1 id="DDCssLib_CSSValue_SetInheritValue_" data-uid="DDCssLib.CSSValue.SetInheritValue*">SetInheritValue Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="DDCssLib_CSSValue_SetInheritValue_" data-uid="DDCssLib.CSSValue.SetInheritValue*"></a>
<h4 id="DDCssLib_CSSValue_SetInheritValue" data-uid="DDCssLib.CSSValue.SetInheritValue">SetInheritValue()</h4>
<div class="markdown level1 summary"><p>Indicates that this value is not null, not none, but should be inherited from the
parent object of the object who's style this value is applied to.<br>
In CSS this is the default value for many <em>child</em> elements's (but certainly not all)
style properties who's style is not specified.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetInheritValue()</code></pre>
</div>
<h5 id="DDCssLib_CSSValue_SetInheritValue_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>See CSS Level 1 Recomendation Section 1.3 Inheritance:
<a href="http://www.w3.org/TR/REC-CSS1#inheritance">http://www.w3.org/TR/REC-CSS1#inheritance</a>
An important statement in this section is the following:
&quot;Some style properties are not inherited from the parent element to the child element.
Most often it is intuitive why this is not the case. E.g., the 'background' property
does not inherit, but the parent element's background will shine through by default.&quot;</p>
</div>
</div>
