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)
410
this.
ActiveXState
= ActiveXHelper.ActiveXState.Loaded;
415
this.
ActiveXState
= ActiveXHelper.ActiveXState.Running;
420
this.
ActiveXState
= ActiveXHelper.ActiveXState.InPlaceActive;
425
this.
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
429
this.
ActiveXState
+= 1; // To exit the loop
461
this.
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
466
this.
ActiveXState
= ActiveXHelper.ActiveXState.InPlaceActive;
471
this.
ActiveXState
= ActiveXHelper.ActiveXState.Running;
476
this.
ActiveXState
= ActiveXHelper.ActiveXState.Loaded;
481
this.
ActiveXState
= ActiveXHelper.ActiveXState.Passive;
485
this.
ActiveXState
-= 1; // To exit the loop
563
this.
ActiveXState
= ActiveXHelper.ActiveXState.Loaded;
602
this.
ActiveXState
= ActiveXHelper.ActiveXState.Passive;
627
this.
ActiveXState
= ActiveXHelper.ActiveXState.Running;
644
this.
ActiveXState
= ActiveXHelper.ActiveXState.Loaded;
671
this.
ActiveXState
= ActiveXHelper.ActiveXState.InPlaceActive;
686
this.
ActiveXState
= ActiveXHelper.ActiveXState.Running;
699
this.
ActiveXState
= ActiveXHelper.ActiveXState.UIActive;
713
this.
ActiveXState
= ActiveXHelper.ActiveXState.InPlaceActive;
41 references to ActiveXState
PresentationFramework (41)
MS\Internal\Controls\ActiveXContainer.cs (1)
70
_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)
401
while (state > this.
ActiveXState
)
403
oldState = this.
ActiveXState
;
405
switch (this.
ActiveXState
)
409
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded, "Failed transition");
414
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Running, "Failed transition");
419
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive, "Failed transition");
424
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.UIActive, "Failed transition");
433
OnActiveXStateChange((int)oldState, (int)this.
ActiveXState
);
453
while (state < this.
ActiveXState
)
455
oldState = this.
ActiveXState
;
457
switch (this.
ActiveXState
)
465
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive, "Failed transition");
470
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Running, "Failed transition");
475
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded, "Failed transition");
480
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Passive, "Failed transition");
489
OnActiveXStateChange((int)oldState, (int)this.
ActiveXState
);
551
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Passive, "Wrong start state to transition from");
552
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Passive)
574
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded, "Wrong start state to transition from");
575
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded)
608
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded, "Wrong start state to transition from");
609
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Loaded)
633
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Running, "Wrong start state to transition from");
634
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Running)
650
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.Running, "Wrong start state to transition from");
651
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.Running)
677
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive, "Wrong start state to transition from");
678
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive)
692
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive, "Wrong start state to transition from");
693
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.InPlaceActive)
705
Debug.Assert(this.
ActiveXState
== ActiveXHelper.ActiveXState.UIActive, "Wrong start state to transition from");
706
if (this.
ActiveXState
== ActiveXHelper.ActiveXState.UIActive)
879
Invariant.Assert(axhost.
ActiveXState
>= ActiveXHelper.ActiveXState.InPlaceActive, "Should at least be InPlaceActive when getting focus");
881
if (axhost.
ActiveXState
< ActiveXHelper.ActiveXState.UIActive)
899
Invariant.Assert(axhost.
ActiveXState
>= ActiveXHelper.ActiveXState.UIActive, "Should at least be UIActive when losing focus");