22 writes to ActiveXState
PresentationFramework (22)
MS\Internal\Controls\ActiveXSite.cs (1)
323
this.Host.
ActiveXState
= value;
System\Windows\Controls\WebBrowser.cs (2)
930
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
963
this.
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
System\Windows\Interop\ActiveXHost.cs (19)
411
this.
ActiveXState
= ActiveXHelper.ActiveXState.Loaded;
416
this.
ActiveXState
= ActiveXHelper.ActiveXState.Running;
421
this.
ActiveXState
= ActiveXHelper.ActiveXState.InPlaceActive;
426
this.
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
430
this.
ActiveXState
= this.ActiveXState + 1; // To exit the loop
462
this.
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
467
this.
ActiveXState
= ActiveXHelper.ActiveXState.InPlaceActive;
472
this.
ActiveXState
= ActiveXHelper.ActiveXState.Running;
477
this.
ActiveXState
= ActiveXHelper.ActiveXState.Loaded;
482
this.
ActiveXState
= ActiveXHelper.ActiveXState.Passive;
486
this.
ActiveXState
= this.ActiveXState - 1; // To exit the loop
564
this.
ActiveXState
= ActiveXHelper.ActiveXState.Loaded;
603
this.
ActiveXState
= ActiveXHelper.ActiveXState.Passive;
628
this.
ActiveXState
= ActiveXHelper.ActiveXState.Running;
645
this.
ActiveXState
= ActiveXHelper.ActiveXState.Loaded;
672
this.
ActiveXState
= ActiveXHelper.ActiveXState.InPlaceActive;
687
this.
ActiveXState
= ActiveXHelper.ActiveXState.Running;
700
this.
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
714
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)
927
if (
ActiveXState
!= ActiveXHelper.ActiveXState.UIActive && this.HasFocusWithinCore())
929
Invariant.Assert(
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive);
946
Invariant.Assert(
ActiveXState
>= ActiveXHelper.ActiveXState.UIActive, "Should be at least UIActive when we are processing accelerator keys");
957
Invariant.Assert(
ActiveXState
>= ActiveXHelper.ActiveXState.InPlaceActive, "Should be at least InPlaceActive when tabbed into");
System\Windows\Interop\ActiveXHost.cs (37)
402
while (state > this.
ActiveXState
)
404
oldState = this.
ActiveXState
;
406
switch (this.
ActiveXState
)
410
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded, "Failed transition");
415
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Running, "Failed transition");
420
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive, "Failed transition");
425
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.UIActive, "Failed transition");
430
this.ActiveXState = this.
ActiveXState
+ 1; // To exit the loop
434
OnActiveXStateChange((int)oldState, (int)this.
ActiveXState
);
454
while (state < this.
ActiveXState
)
456
oldState = this.
ActiveXState
;
458
switch (this.
ActiveXState
)
466
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive, "Failed transition");
471
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Running, "Failed transition");
476
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded, "Failed transition");
481
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Passive, "Failed transition");
486
this.ActiveXState = this.
ActiveXState
- 1; // To exit the loop
490
OnActiveXStateChange((int)oldState, (int)this.
ActiveXState
);
552
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Passive, "Wrong start state to transition from");
553
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Passive)
575
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded, "Wrong start state to transition from");
576
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded)
609
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded, "Wrong start state to transition from");
610
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded)
634
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Running, "Wrong start state to transition from");
635
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Running)
651
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Running, "Wrong start state to transition from");
652
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Running)
678
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive, "Wrong start state to transition from");
679
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive)
693
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive, "Wrong start state to transition from");
694
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive)
706
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.UIActive, "Wrong start state to transition from");
707
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.UIActive)
880
Invariant.Assert(axhost.
ActiveXState
>= ActiveXHelper.ActiveXState.InPlaceActive, "Should at least be InPlaceActive when getting focus");
882
if (axhost.
ActiveXState
< ActiveXHelper.ActiveXState.UIActive)
900
Invariant.Assert(axhost.
ActiveXState
>= ActiveXHelper.ActiveXState.UIActive, "Should at least be UIActive when losing focus");