# C1.Win.TouchToolKit.C1ZoomPanel.FeedbackAreaBackgroundImage

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_TouchToolKit_C1ZoomPanel_FeedbackAreaBackgroundImage_" data-uid="C1.Win.TouchToolKit.C1ZoomPanel.FeedbackAreaBackgroundImage*">FeedbackAreaBackgroundImage Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_TouchToolKit_C1ZoomPanel_FeedbackAreaBackgroundImage_" data-uid="C1.Win.TouchToolKit.C1ZoomPanel.FeedbackAreaBackgroundImage*"></a>
<h4 id="C1_Win_TouchToolKit_C1ZoomPanel_FeedbackAreaBackgroundImage" data-uid="C1.Win.TouchToolKit.C1ZoomPanel.FeedbackAreaBackgroundImage">FeedbackAreaBackgroundImage</h4>
<div class="markdown level1 summary"><p>Gets or sets the background image displayed in the blank areas of panel when to zoom and scroll.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Image FeedbackAreaBackgroundImage { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property FeedbackAreaBackgroundImage As Image</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.drawing.image">Image</a></td>
      <td><p>An <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.image">Image</a> value that represents the image to display in the blank areas of panel when to zoom and scroll.
The default is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Win_TouchToolKit_C1ZoomPanel_FeedbackAreaBackgroundImage_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Images with translucent or transparent colors are not supported by Windows panel controls as background images.</p>
</div>
<h5 id="C1_Win_TouchToolKit_C1ZoomPanel_FeedbackAreaBackgroundImage_examples">Examples</h5>
<p>
  The following code example shows how to use this property. 
</p>
<p>
  This code example is part of a larger example provided for the <a class="xref" href="C1.Win.TouchToolKit.C1ZoomPanel.html">C1ZoomPanel</a> class.
</p>
<pre><code class="lang-csharp">public class GcZoomPanelDemo : Form
{
	private TextBox _childTextBox;
	private Button _childButton;
	private GcZoomPanel _gcZoomPanel;

	public GcZoomPanelDemo()
	{
		InitializeComponent();

		// If feedback area want to use image, you showld use FeedbackAreaBackgroundImage and 
		// FeedbackAreaBackgroundImageLayout property.
		_gcZoomPanel.FeedbackAreaBackgroundImage = Image.FromFile(@"c:\image.jpg");
		_gcZoomPanel.FeedbackAreaBackgroundImageLayout = ImageLayout.Stretch;
	}

	private void InitializeComponent()
	{
		_childTextBox = new TextBox();
		_childTextBox.Text = "This is TextBox";
		_childTextBox.Location = new Point(225, 150);
		_childTextBox.Size = new Size(150, 25);

		_childButton = new Button();
		_childButton.Text = "This is Button";
		_childButton.Location = new Point(225, 200);
		_childButton.Size = new Size(150, 25);

		_gcZoomPanel = new GcZoomPanel();
		_gcZoomPanel.Location = new Point(100, 100);
		_gcZoomPanel.Size = new Size(600, 400);
		_gcZoomPanel.BackColor = SystemColors.ControlDarkDark;

		_gcZoomPanel.Controls.Add(_childTextBox);
		_gcZoomPanel.Controls.Add(_childButton);

		this.Controls.Add(_gcZoomPanel);
	}
}</code></pre>
<pre><code class="lang-csharp">Public Class GcZoomPanelDemo
	Inherits Form
	Private _childTextBox As TextBox
	Private _childButton As Button
	Private _gcZoomPanel As GcZoomPanel

	Public Sub New()
		InitializeComponent()

		' If feedback area want to use image, you showld use FeedbackAreaBackgroundImage and 
		' FeedbackAreaBackgroundImageLayout property.
		_gcZoomPanel.FeedbackAreaBackgroundImage = Image.FromFile(@"c:\image.jpg");
		_gcZoomPanel.FeedbackAreaBackgroundImageLayout = ImageLayout.Stretch;
	End Sub

	Private Sub InitializeComponent()
		_childTextBox = New TextBox()
		_childTextBox.Text = "This is TextBox"
		_childTextBox.Location = New Point(225, 150)
		_childTextBox.Size = New Size(150, 25)

		_childButton = New Button()
		_childButton.Text = "This is Button"
		_childButton.Location = New Point(225, 200)
		_childButton.Size = New Size(150, 25)

		_gcZoomPanel = New GcZoomPanel()
		_gcZoomPanel.Location = New Point(100, 100)
		_gcZoomPanel.Size = New Size(600, 400)
		_gcZoomPanel.BackColor = SystemColors.ControlDarkDark

		_gcZoomPanel.Controls.Add(_childTextBox)
		_gcZoomPanel.Controls.Add(_childButton)

		Me.Controls.Add(_gcZoomPanel)
	End Sub
End Class</code></pre>

</div>
