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