Implemented interface member:
property
ActiveControl
System.Windows.Forms.IContainerControl.ActiveControl
7 writes to ActiveControl
System.Windows.Forms (7)
winforms\Managed\System\WinForms\AxHost.cs (4)
1831f.ActiveControl = null; 1951f.ActiveControl = ctl; 5794parent.ActiveControl = null; 5854f.ActiveControl = site;
winforms\Managed\System\WinForms\Form.cs (1)
5775if (form != null) form.ActiveControl = this;
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (2)
716this.ActiveControl = this.btnCancel; 813this.ActiveControl = this.btnCancel;
50 references to ActiveControl
System.Windows.Forms (49)
winforms\Managed\System\WinForms\AxHost.cs (3)
1830if (f.ActiveControl == this) { 1939Control ctl = f == null ? null : f.ActiveControl; 1950if (f != null && f.ActiveControl != ctl) {
winforms\Managed\System\WinForms\ContainerControl.cs (8)
405updateContainerActiveControl = (cc.ActiveControl != this); 503if (cc != null && cc.ActiveControl == this) 824if (ActiveControl == null) { 1250Control start = ActiveControl; 1434while (ret.ActiveControl is ContainerControl) 1436ret = (ContainerControl) ret.ActiveControl; 1889if (ActiveControl != null) { 1893if (!ActiveControl.Visible) {
winforms\Managed\System\WinForms\Control.cs (1)
1936while (container.ActiveControl == null) {
winforms\Managed\System\WinForms\DataGridViewCell.cs (2)
1321if (cc != null && (dgv.EditingControl == cc.ActiveControl || dgv.EditingControl.Contains(cc.ActiveControl)))
winforms\Managed\System\WinForms\Form.cs (11)
376return(parentForm.ActiveControl == this && parentForm.Active); 402if( ActiveControl == null ) { 2735if (ActiveControl == null){ 4717Control activeControl = ActiveControl; 5404if (SelectNextControl(ActiveControl, forward, true, true, true)) 6398while (cc.ActiveControl is ContainerControl) 6400cc = cc.ActiveControl as ContainerControl; 6413if (cc.ActiveControl is IButtonControl) 6415SetDefaultButton((IButtonControl) cc.ActiveControl); 7303if (ActiveControl != null && !ActiveControl.ContainsFocus) {
winforms\Managed\System\WinForms\MdiWindowListStrip.cs (6)
158if (dialog.ActiveChildForm.ActiveControl != null && !dialog.ActiveChildForm.ActiveControl.Focused) { 159dialog.ActiveChildForm.ActiveControl.Focus(); 184if (boundForm.ActiveControl != null && !boundForm.ActiveControl.Focused) { 185boundForm.ActiveControl.Focus();
winforms\Managed\System\WinForms\MenuItem.cs (6)
1804if (boundForm.ActiveControl != null && !boundForm.ActiveControl.Focused) { 1805boundForm.ActiveControl.Focus(); 1846if (dialog.ActiveChildForm.ActiveControl != null && !dialog.ActiveChildForm.ActiveControl.Focused) { 1847dialog.ActiveChildForm.ActiveControl.Focus();
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
1633if (this.ActiveControl == this.previewControl)
winforms\Managed\System\WinForms\PropertyGrid.cs (3)
2667if (this.ActiveControl != gridView) { 2948if (this.ActiveControl == null) { 2954if (!this.ActiveControl.FocusInternal()) {
winforms\Managed\System\WinForms\SplitContainer.cs (4)
1692if (ActiveControl != null) { 1693group = ActiveControl.ParentInternal; 1695return group.SelectNextControl(ActiveControl, forward, false, false, true); 2451if (SelectNextControlInPanel(ActiveControl, forward, true, true, true)) {
winforms\Managed\System\WinForms\UpDownBase.cs (1)
1216if (ActiveControl == null) {
winforms\Managed\System\WinForms\UserControl.cs (1)
352if (ActiveControl == null)
winforms\Managed\System\WinForms\WebBrowserBase.cs (2)
465if (containingControl != null && containingControl.ActiveControl != this) { 1033if (f != null && f.ActiveControl == this) {
System.Workflow.Activities (1)
Rules\Design\Dialogs\RuleSetDialog.cs (1)
312IntellisenseTextBox itb = this.ActiveControl as IntellisenseTextBox;