# C1.C1Preview.Style.Parent

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_Style_Parent_" data-uid="C1.C1Preview.Style.Parent*">Parent Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_Style_Parent_" data-uid="C1.C1Preview.Style.Parent*"></a>
<h4 id="C1_C1Preview_Style_Parent" data-uid="C1.C1Preview.Style.Parent">Parent</h4>
<div class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.C1Preview.Style.html">Style</a> that is the parent of the current style.</p>
<p>
If non-<b>null</b>, that style provides the values for non-ambient properties
of the current style that have not been explicitly set.
</p>
<p>
If <b>null</b>, such properties have default values.
</p>
<p>
This property is <b>null</b> by default.
</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Style Parent { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property Parent As Style</code></pre>
</div>
<h5 id="C1_C1Preview_Style_Parent_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Initially a <a class="xref" href="C1.C1Preview.Style.html">Style</a> object does not have any
explicitly set properties. This means that the effective
values of all ambient properties (such as font) are inherited from
the style of the containing object, while the effective values
of all non-ambient properties (such as borders) are inherited
from the style specified by this property.</p>
</div>
</div>
