# GrapeCity.Documents.Word.Style.Locked

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_Style_Locked_" data-uid="GrapeCity.Documents.Word.Style.Locked*">Locked Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_Style_Locked_" data-uid="GrapeCity.Documents.Word.Style.Locked*"></a>
<h4 id="GrapeCity_Documents_Word_Style_Locked" data-uid="GrapeCity.Documents.Word.Style.Locked">Locked</h4>
<div class="markdown level1 summary"><p>Gets or sets a value indicating whether an application shall prevent the use of this style when this document is loaded and/or modified.</p>
<p>
If true, this style can be used to format existing content (i.e. any content that references this style shall have its properties as normal), 
but new instances of the style shall be prevented from being applied via all mechanisms associated with that application.
</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool Locked { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property Locked As Boolean</code></pre>
</div>
</div>
