22 writes to ActiveXState
PresentationFramework (22)
MS\Internal\Controls\ActiveXSite.cs (1)
323
this.Host.
ActiveXState
= value;
System\Windows\Controls\WebBrowser.cs (2)
928
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
961
this.
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
System\Windows\Interop\ActiveXHost.cs (19)
415
this.
ActiveXState
= ActiveXHelper.ActiveXState.Loaded;
420
this.
ActiveXState
= ActiveXHelper.ActiveXState.Running;
425
this.
ActiveXState
= ActiveXHelper.ActiveXState.InPlaceActive;
430
this.
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
434
this.
ActiveXState
= this.ActiveXState + 1; // To exit the loop
466
this.
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
471
this.
ActiveXState
= ActiveXHelper.ActiveXState.InPlaceActive;
476
this.
ActiveXState
= ActiveXHelper.ActiveXState.Running;
481
this.
ActiveXState
= ActiveXHelper.ActiveXState.Loaded;
486
this.
ActiveXState
= ActiveXHelper.ActiveXState.Passive;
490
this.
ActiveXState
= this.ActiveXState - 1; // To exit the loop
568
this.
ActiveXState
= ActiveXHelper.ActiveXState.Loaded;
607
this.
ActiveXState
= ActiveXHelper.ActiveXState.Passive;
632
this.
ActiveXState
= ActiveXHelper.ActiveXState.Running;
649
this.
ActiveXState
= ActiveXHelper.ActiveXState.Loaded;
676
this.
ActiveXState
= ActiveXHelper.ActiveXState.InPlaceActive;
691
this.
ActiveXState
= ActiveXHelper.ActiveXState.Running;
704
this.
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
718
this.
ActiveXState
= ActiveXHelper.ActiveXState.InPlaceActive;
43 references to ActiveXState
PresentationFramework (43)
MS\Internal\Controls\ActiveXContainer.cs (1)
71
_host.
ActiveXState
== ActiveXHelper.ActiveXState.Running)))
MS\Internal\Controls\ActiveXSite.cs (1)
319
return this.Host.
ActiveXState
;
System\Windows\Controls\WebBrowser.cs (4)
925
if (
ActiveXState
!= ActiveXHelper.ActiveXState.UIActive && this.HasFocusWithinCore())
927
Invariant.Assert(
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive);
944
Invariant.Assert(
ActiveXState
>= ActiveXHelper.ActiveXState.UIActive, "Should be at least UIActive when we are processing accelerator keys");
955
Invariant.Assert(
ActiveXState
>= ActiveXHelper.ActiveXState.InPlaceActive, "Should be at least InPlaceActive when tabbed into");
System\Windows\Interop\ActiveXHost.cs (37)
406
while (state > this.
ActiveXState
)
408
oldState = this.
ActiveXState
;
410
switch (this.
ActiveXState
)
414
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded, "Failed transition");
419
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Running, "Failed transition");
424
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive, "Failed transition");
429
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.UIActive, "Failed transition");
434
this.ActiveXState = this.
ActiveXState
+ 1; // To exit the loop
438
OnActiveXStateChange((int)oldState, (int)this.
ActiveXState
);
458
while (state < this.
ActiveXState
)
460
oldState = this.
ActiveXState
;
462
switch (this.
ActiveXState
)
470
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive, "Failed transition");
475
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Running, "Failed transition");
480
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded, "Failed transition");
485
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Passive, "Failed transition");
490
this.ActiveXState = this.
ActiveXState
- 1; // To exit the loop
494
OnActiveXStateChange((int)oldState, (int)this.
ActiveXState
);
556
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Passive, "Wrong start state to transition from");
557
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Passive)
579
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded, "Wrong start state to transition from");
580
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded)
613
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded, "Wrong start state to transition from");
614
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded)
638
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Running, "Wrong start state to transition from");
639
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Running)
655
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Running, "Wrong start state to transition from");
656
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Running)
682
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive, "Wrong start state to transition from");
683
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive)
697
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive, "Wrong start state to transition from");
698
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive)
710
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.UIActive, "Wrong start state to transition from");
711
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.UIActive)
884
Invariant.Assert(axhost.
ActiveXState
>= ActiveXHelper.ActiveXState.InPlaceActive, "Should at least be InPlaceActive when getting focus");
886
if (axhost.
ActiveXState
< ActiveXHelper.ActiveXState.UIActive)
904
Invariant.Assert(axhost.
ActiveXState
>= ActiveXHelper.ActiveXState.UIActive, "Should at least be UIActive when losing focus");