# C1.WinUI.Grid.FlexGrid.AutomationEnabled

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WinUI_Grid_FlexGrid_AutomationEnabled_" data-uid="C1.WinUI.Grid.FlexGrid.AutomationEnabled*">AutomationEnabled Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WinUI_Grid_FlexGrid_AutomationEnabled_" data-uid="C1.WinUI.Grid.FlexGrid.AutomationEnabled*"></a>
<h4 id="C1_WinUI_Grid_FlexGrid_AutomationEnabled" data-uid="C1.WinUI.Grid.FlexGrid.AutomationEnabled">AutomationEnabled</h4>
<div class="markdown level1 summary"><p>Gets or sets a nullable boolean value indicating whether automation is enabled for the element and
an automation peer will be created when requested by system.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool? AutomationEnabled { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property AutomationEnabled As Boolean?</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a>?</td>
      <td><p><code>true</code> to enable automation for this element; <code>false</code> to disable it;
<code>null</code> to clear any locally assigned value and revert to the inherited or global default.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="../C1.WinUI.Core/C1.WinUI.Core.IAutomationProperties.AutomationEnabled.html#C1_WinUI_Core_IAutomationProperties_AutomationEnabled">IAutomationProperties.AutomationEnabled</a></div>
<h5 id="C1_WinUI_Grid_FlexGrid_AutomationEnabled_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>When set to <code>null</code>, the effective value is determined by the closest ancestor
that has a non‑null setting, or by the global default if none exists.
Getter cannot return a null value. Implementations are expected to store and retrieve
the value using the <a class="xref" href="../C1.WinUI.Core/C1.WinUI.Core.AutomationProperties.EnabledProperty.html">EnabledProperty</a> attached property.</p>
</div>
</div>
