# C1.Win.TouchToolKit.C1ZoomPanel.InnerControls

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_TouchToolKit_C1ZoomPanel_InnerControls_" data-uid="C1.Win.TouchToolKit.C1ZoomPanel.InnerControls*">InnerControls Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_TouchToolKit_C1ZoomPanel_InnerControls_" data-uid="C1.Win.TouchToolKit.C1ZoomPanel.InnerControls*"></a>
<h4 id="C1_Win_TouchToolKit_C1ZoomPanel_InnerControls" data-uid="C1.Win.TouchToolKit.C1ZoomPanel.InnerControls">InnerControls</h4>
<div class="markdown level1 summary"><p>Gets the child controls of the panel.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Browsable(false)]
public Control.ControlCollection InnerControls { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Browsable(False)&gt;
Public ReadOnly Property InnerControls As Control.ControlCollection</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.control">Control</a>.<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control.controlcollection">ControlCollection</a></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control">Control.ControlCollection</a> value that represents the child controls of the panel.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Win_TouchToolKit_C1ZoomPanel_InnerControls_examples">Examples</h5>
<p>
  The following code example shows how to use this method. GcZoom use Controls property to get the all child controls,
  But GcZoomPanel should use InnerControls to get.
</p>
<p>
  This code example is part of a larger example provided for the <a class="xref" href="C1.Win.TouchToolKit.C1Zoom.Controls.html#C1_Win_TouchToolKit_C1Zoom_Controls">Controls</a> property. 
</p>
<pre><code class="lang-csharp">public class GcZoomControlsDemo : Form
{
	private GcZoom _gcZoom1 = new GcZoom();
	private Button _controlsButton;

	public GcZoomControlsDemo()
	{
		InitializeComponent();

		_gcZoom1.Target = this;

		_controlsButton.Click += _controlsButton_Click;
	}

	void _controlsButton_Click(object sender, EventArgs e)
	{
		foreach (Control item in _gcZoom1.Controls)
		{
			Console.WriteLine(item.ToString());
		}
	}

	private void InitializeComponent()
	{
		_controlsButton = new Button();
		_controlsButton.Text = "Controls";
		_controlsButton.Location = new Point(20, 130);
		_controlsButton.Size = new Size(120, 25);
		this.Controls.Add(_controlsButton);
	}
}</code></pre>
<pre><code class="lang-csharp">Public Class GcZoomControlsDemo
	Inherits Form
	Private _gcZoom1 As New GcZoom()
	Private _controlsButton As Button

	Public Sub New()
		InitializeComponent()

		_gcZoom1.Target = Me

		AddHandler _controlsButton.Click, AddressOf _controlsButton_Click
	End Sub

	Private Sub _controlsButton_Click(sender As Object, e As EventArgs)
		For Each item As Control In _gcZoom1.Controls
			Console.WriteLine(item.ToString())
		Next
	End Sub

	Private Sub InitializeComponent()
		_controlsButton = New Button()
		_controlsButton.Text = "Controls"
		_controlsButton.Location = New Point(20, 130)
		_controlsButton.Size = New Size(120, 25)
		Me.Controls.Add(_controlsButton)
	End Sub
End Class</code></pre>

</div>
