# GrapeCity.Win.Spread.InputMan.CellType.EditBase.BackgroundImageLayout

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_BackgroundImageLayout_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.EditBase.BackgroundImageLayout*">BackgroundImageLayout Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_BackgroundImageLayout_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.EditBase.BackgroundImageLayout*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_BackgroundImageLayout" data-uid="GrapeCity.Win.Spread.InputMan.CellType.EditBase.BackgroundImageLayout">BackgroundImageLayout</h4>
<div class="markdown level1 summary"><p>Gets or sets the background image layout as defined in the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.imagelayout">ImageLayout</a> enumeration.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override ImageLayout BackgroundImageLayout { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides Property BackgroundImageLayout As ImageLayout</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.windows.forms.imagelayout">ImageLayout</a></td>
      <td><p>One of the values of <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.imagelayout">ImageLayout</a>
(<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.imagelayout#system-windows-forms-imagelayout-center">Center</a> ,
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.imagelayout#system-windows-forms-imagelayout-none">None</a>,
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.imagelayout#system-windows-forms-imagelayout-stretch">Stretch</a>,
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.imagelayout#system-windows-forms-imagelayout-tile">Tile</a>,
or <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.imagelayout#system-windows-forms-imagelayout-zoom">Zoom</a>).
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.imagelayout#system-windows-forms-imagelayout-tile">Tile</a> is the default value.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control.backgroundimagelayout">Control.BackgroundImageLayout</a></div>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_BackgroundImageLayout_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Use the <b>BackgroundImageLayout</b> property to specify the position and behavior of an image you have placed on a control. <b>BackgroundImageLayout</b> takes effect only if the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.EditBase.BackgroundImage.html#GrapeCity_Win_Spread_InputMan_CellType_EditBase_BackgroundImage">BackgroundImage</a> property is set.
<pare></pare>
You can increase performance for large images if you set <b>BackgroundImageLayout</b> to something other than <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.imagelayout#system-windows-forms-imagelayout-tile">Tile</a>.</p>
</div>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.invalidenumargumentexception">InvalidEnumArgumentException</a></td>
      <td><p>The specified enumeration value does not exist.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_BackgroundImageLayout_seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.EditBase.BackgroundImage.html#GrapeCity_Win_Spread_InputMan_CellType_EditBase_BackgroundImage">BackgroundImage</a></div>
</div>
</div>
