22 writes to ActiveXState
PresentationFramework (22)
src\Framework\MS\Internal\Controls\ActiveXSite.cs (1)
381
this.Host.
ActiveXState
= value ;
src\Framework\System\Windows\Controls\WebBrowser.cs (2)
1287
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
1330
this.
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
src\Framework\System\Windows\Interop\ActiveXHost.cs (19)
465
this.
ActiveXState
= ActiveXHelper.ActiveXState.Loaded;
470
this.
ActiveXState
= ActiveXHelper.ActiveXState.Running;
475
this.
ActiveXState
= ActiveXHelper.ActiveXState.InPlaceActive;
480
this.
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
484
this.
ActiveXState
= this.ActiveXState + 1; // To exit the loop
516
this.
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
521
this.
ActiveXState
= ActiveXHelper.ActiveXState.InPlaceActive;
526
this.
ActiveXState
= ActiveXHelper.ActiveXState.Running;
531
this.
ActiveXState
= ActiveXHelper.ActiveXState.Loaded;
536
this.
ActiveXState
= ActiveXHelper.ActiveXState.Passive;
540
this.
ActiveXState
= this.ActiveXState - 1; // To exit the loop
644
this.
ActiveXState
= ActiveXHelper.ActiveXState.Loaded;
690
this.
ActiveXState
= ActiveXHelper.ActiveXState.Passive;
722
this.
ActiveXState
= ActiveXHelper.ActiveXState.Running;
746
this.
ActiveXState
= ActiveXHelper.ActiveXState.Loaded;
780
this.
ActiveXState
= ActiveXHelper.ActiveXState.InPlaceActive;
802
this.
ActiveXState
= ActiveXHelper.ActiveXState.Running;
822
this.
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
843
this.
ActiveXState
= ActiveXHelper.ActiveXState.InPlaceActive;
43 references to ActiveXState
PresentationFramework (43)
src\Framework\MS\Internal\Controls\ActiveXContainer.cs (1)
91
_host.
ActiveXState
== ActiveXHelper.ActiveXState.Running )) )
src\Framework\MS\Internal\Controls\ActiveXSite.cs (1)
376
return this.Host.
ActiveXState
;
src\Framework\System\Windows\Controls\WebBrowser.cs (4)
1284
if (
ActiveXState
!= ActiveXHelper.ActiveXState.UIActive && this.HasFocusWithinCore())
1286
Invariant.Assert(
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive);
1308
Invariant.Assert(
ActiveXState
>= ActiveXHelper.ActiveXState.UIActive, "Should be at least UIActive when we are processing accelerator keys");
1324
Invariant.Assert(
ActiveXState
>= ActiveXHelper.ActiveXState.InPlaceActive, "Should be at least InPlaceActive when tabbed into");
src\Framework\System\Windows\Interop\ActiveXHost.cs (37)
456
while (state > this.
ActiveXState
)
458
oldState = this.
ActiveXState
;
460
switch (this.
ActiveXState
)
464
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded, "Failed transition");
469
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Running, "Failed transition");
474
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive, "Failed transition");
479
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.UIActive, "Failed transition");
484
this.ActiveXState = this.
ActiveXState
+ 1; // To exit the loop
488
OnActiveXStateChange((int)oldState, (int)this.
ActiveXState
);
508
while (state < this.
ActiveXState
)
510
oldState = this.
ActiveXState
;
512
switch (this.
ActiveXState
)
520
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive, "Failed transition");
525
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Running, "Failed transition");
530
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded, "Failed transition");
535
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Passive, "Failed transition");
540
this.ActiveXState = this.
ActiveXState
- 1; // To exit the loop
544
OnActiveXStateChange((int)oldState, (int)this.
ActiveXState
);
632
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Passive, "Wrong start state to transition from");
633
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Passive)
662
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded, "Wrong start state to transition from");
663
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded)
703
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded, "Wrong start state to transition from");
704
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded)
735
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Running, "Wrong start state to transition from");
736
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Running)
759
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Running, "Wrong start state to transition from");
760
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Running)
793
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive, "Wrong start state to transition from");
794
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive)
815
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive, "Wrong start state to transition from");
816
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive)
835
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.UIActive, "Wrong start state to transition from");
836
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.UIActive)
1030
Invariant.Assert(axhost.
ActiveXState
>= ActiveXHelper.ActiveXState.InPlaceActive, "Should at least be InPlaceActive when getting focus");
1032
if (axhost.
ActiveXState
< ActiveXHelper.ActiveXState.UIActive)
1050
Invariant.Assert(axhost.
ActiveXState
>= ActiveXHelper.ActiveXState.UIActive, "Should at least be UIActive when losing focus");