22 writes to ActiveXState
PresentationFramework (22)
MS\Internal\Controls\ActiveXSite.cs (1)
331
this.Host.
ActiveXState
= value;
System\Windows\Controls\WebBrowser.cs (2)
938
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
971
this.
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
System\Windows\Interop\ActiveXHost.cs (19)
425
this.
ActiveXState
= ActiveXHelper.ActiveXState.Loaded;
430
this.
ActiveXState
= ActiveXHelper.ActiveXState.Running;
435
this.
ActiveXState
= ActiveXHelper.ActiveXState.InPlaceActive;
440
this.
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
444
this.
ActiveXState
= this.ActiveXState + 1; // To exit the loop
476
this.
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
481
this.
ActiveXState
= ActiveXHelper.ActiveXState.InPlaceActive;
486
this.
ActiveXState
= ActiveXHelper.ActiveXState.Running;
491
this.
ActiveXState
= ActiveXHelper.ActiveXState.Loaded;
496
this.
ActiveXState
= ActiveXHelper.ActiveXState.Passive;
500
this.
ActiveXState
= this.ActiveXState - 1; // To exit the loop
578
this.
ActiveXState
= ActiveXHelper.ActiveXState.Loaded;
617
this.
ActiveXState
= ActiveXHelper.ActiveXState.Passive;
642
this.
ActiveXState
= ActiveXHelper.ActiveXState.Running;
659
this.
ActiveXState
= ActiveXHelper.ActiveXState.Loaded;
686
this.
ActiveXState
= ActiveXHelper.ActiveXState.InPlaceActive;
701
this.
ActiveXState
= ActiveXHelper.ActiveXState.Running;
714
this.
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
728
this.
ActiveXState
= ActiveXHelper.ActiveXState.InPlaceActive;
43 references to ActiveXState
PresentationFramework (43)
MS\Internal\Controls\ActiveXContainer.cs (1)
78
_host.
ActiveXState
== ActiveXHelper.ActiveXState.Running)))
MS\Internal\Controls\ActiveXSite.cs (1)
327
return this.Host.
ActiveXState
;
System\Windows\Controls\WebBrowser.cs (4)
935
if (
ActiveXState
!= ActiveXHelper.ActiveXState.UIActive && this.HasFocusWithinCore())
937
Invariant.Assert(
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive);
954
Invariant.Assert(
ActiveXState
>= ActiveXHelper.ActiveXState.UIActive, "Should be at least UIActive when we are processing accelerator keys");
965
Invariant.Assert(
ActiveXState
>= ActiveXHelper.ActiveXState.InPlaceActive, "Should be at least InPlaceActive when tabbed into");
System\Windows\Interop\ActiveXHost.cs (37)
416
while (state > this.
ActiveXState
)
418
oldState = this.
ActiveXState
;
420
switch (this.
ActiveXState
)
424
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded, "Failed transition");
429
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Running, "Failed transition");
434
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive, "Failed transition");
439
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.UIActive, "Failed transition");
444
this.ActiveXState = this.
ActiveXState
+ 1; // To exit the loop
448
OnActiveXStateChange((int)oldState, (int)this.
ActiveXState
);
468
while (state < this.
ActiveXState
)
470
oldState = this.
ActiveXState
;
472
switch (this.
ActiveXState
)
480
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive, "Failed transition");
485
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Running, "Failed transition");
490
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded, "Failed transition");
495
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Passive, "Failed transition");
500
this.ActiveXState = this.
ActiveXState
- 1; // To exit the loop
504
OnActiveXStateChange((int)oldState, (int)this.
ActiveXState
);
566
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Passive, "Wrong start state to transition from");
567
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Passive)
589
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded, "Wrong start state to transition from");
590
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded)
623
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded, "Wrong start state to transition from");
624
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded)
648
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Running, "Wrong start state to transition from");
649
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Running)
665
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Running, "Wrong start state to transition from");
666
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Running)
692
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive, "Wrong start state to transition from");
693
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive)
707
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive, "Wrong start state to transition from");
708
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive)
720
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.UIActive, "Wrong start state to transition from");
721
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.UIActive)
894
Invariant.Assert(axhost.
ActiveXState
>= ActiveXHelper.ActiveXState.InPlaceActive, "Should at least be InPlaceActive when getting focus");
896
if (axhost.
ActiveXState
< ActiveXHelper.ActiveXState.UIActive)
914
Invariant.Assert(axhost.
ActiveXState
>= ActiveXHelper.ActiveXState.UIActive, "Should at least be UIActive when losing focus");