22 writes to ActiveXState
PresentationFramework (22)
MS\Internal\Controls\ActiveXSite.cs (1)
322
this.Host.
ActiveXState
= value;
System\Windows\Controls\WebBrowser.cs (2)
929
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
962
this.
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
System\Windows\Interop\ActiveXHost.cs (19)
407
this.
ActiveXState
= ActiveXHelper.ActiveXState.Loaded;
412
this.
ActiveXState
= ActiveXHelper.ActiveXState.Running;
417
this.
ActiveXState
= ActiveXHelper.ActiveXState.InPlaceActive;
422
this.
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
426
this.
ActiveXState
+= 1; // To exit the loop
458
this.
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
463
this.
ActiveXState
= ActiveXHelper.ActiveXState.InPlaceActive;
468
this.
ActiveXState
= ActiveXHelper.ActiveXState.Running;
473
this.
ActiveXState
= ActiveXHelper.ActiveXState.Loaded;
478
this.
ActiveXState
= ActiveXHelper.ActiveXState.Passive;
482
this.
ActiveXState
-= 1; // To exit the loop
560
this.
ActiveXState
= ActiveXHelper.ActiveXState.Loaded;
599
this.
ActiveXState
= ActiveXHelper.ActiveXState.Passive;
624
this.
ActiveXState
= ActiveXHelper.ActiveXState.Running;
641
this.
ActiveXState
= ActiveXHelper.ActiveXState.Loaded;
668
this.
ActiveXState
= ActiveXHelper.ActiveXState.InPlaceActive;
683
this.
ActiveXState
= ActiveXHelper.ActiveXState.Running;
696
this.
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
710
this.
ActiveXState
= ActiveXHelper.ActiveXState.InPlaceActive;
41 references to ActiveXState
PresentationFramework (41)
MS\Internal\Controls\ActiveXContainer.cs (1)
69
_host.
ActiveXState
== ActiveXHelper.ActiveXState.Running)))
MS\Internal\Controls\ActiveXSite.cs (1)
318
return this.Host.
ActiveXState
;
System\Windows\Controls\WebBrowser.cs (4)
926
if (
ActiveXState
!= ActiveXHelper.ActiveXState.UIActive && this.HasFocusWithinCore())
928
Invariant.Assert(
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive);
945
Invariant.Assert(
ActiveXState
>= ActiveXHelper.ActiveXState.UIActive, "Should be at least UIActive when we are processing accelerator keys");
956
Invariant.Assert(
ActiveXState
>= ActiveXHelper.ActiveXState.InPlaceActive, "Should be at least InPlaceActive when tabbed into");
System\Windows\Interop\ActiveXHost.cs (35)
398
while (state > this.
ActiveXState
)
400
oldState = this.
ActiveXState
;
402
switch (this.
ActiveXState
)
406
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded, "Failed transition");
411
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Running, "Failed transition");
416
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive, "Failed transition");
421
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.UIActive, "Failed transition");
430
OnActiveXStateChange((int)oldState, (int)this.
ActiveXState
);
450
while (state < this.
ActiveXState
)
452
oldState = this.
ActiveXState
;
454
switch (this.
ActiveXState
)
462
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive, "Failed transition");
467
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Running, "Failed transition");
472
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded, "Failed transition");
477
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Passive, "Failed transition");
486
OnActiveXStateChange((int)oldState, (int)this.
ActiveXState
);
548
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Passive, "Wrong start state to transition from");
549
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Passive)
571
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded, "Wrong start state to transition from");
572
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded)
605
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded, "Wrong start state to transition from");
606
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded)
630
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Running, "Wrong start state to transition from");
631
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Running)
647
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Running, "Wrong start state to transition from");
648
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Running)
674
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive, "Wrong start state to transition from");
675
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive)
689
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive, "Wrong start state to transition from");
690
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive)
702
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.UIActive, "Wrong start state to transition from");
703
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.UIActive)
876
Invariant.Assert(axhost.
ActiveXState
>= ActiveXHelper.ActiveXState.InPlaceActive, "Should at least be InPlaceActive when getting focus");
878
if (axhost.
ActiveXState
< ActiveXHelper.ActiveXState.UIActive)
896
Invariant.Assert(axhost.
ActiveXState
>= ActiveXHelper.ActiveXState.UIActive, "Should at least be UIActive when losing focus");