80 references to ActiveXState
PresentationFramework (80)
src\Framework\MS\Internal\Controls\ActiveXContainer.cs (1)
91
_host.ActiveXState == ActiveXHelper.
ActiveXState
.Running )) )
src\Framework\MS\Internal\Controls\ActiveXSite.cs (8)
192
if ( HostState >= ActiveXHelper.
ActiveXState
.InPlaceActive)
260
HostState = ActiveXHelper.
ActiveXState
.InPlaceActive;
274
HostState = ActiveXHelper.
ActiveXState
.UIActive;
319
if ( HostState > ActiveXHelper.
ActiveXState
.InPlaceActive)
321
HostState = ActiveXHelper.
ActiveXState
.InPlaceActive;
332
if (HostState == ActiveXHelper.
ActiveXState
.UIActive)
338
HostState = ActiveXHelper.
ActiveXState
.Running;
371
ActiveXHelper.
ActiveXState
HostState
src\Framework\System\Windows\Controls\WebBrowser.cs (7)
888
TransitionUpTo(ActiveXHelper.
ActiveXState
.Running);
1284
if (ActiveXState != ActiveXHelper.
ActiveXState
.UIActive && this.HasFocusWithinCore())
1286
Invariant.Assert(ActiveXState == ActiveXHelper.
ActiveXState
.InPlaceActive);
1287
ActiveXState = ActiveXHelper.
ActiveXState
.UIActive;
1308
Invariant.Assert(ActiveXState >= ActiveXHelper.
ActiveXState
.UIActive, "Should be at least UIActive when we are processing accelerator keys");
1324
Invariant.Assert(ActiveXState >= ActiveXHelper.
ActiveXState
.InPlaceActive, "Should be at least InPlaceActive when tabbed into");
1330
this.ActiveXState = ActiveXHelper.
ActiveXState
.UIActive;
src\Framework\System\Windows\Interop\ActiveXHost.cs (64)
173
TransitionUpTo(ActiveXHelper.
ActiveXState
.InPlaceActive);
266
TransitionDownTo(ActiveXHelper.
ActiveXState
.Passive);
424
internal ActiveXHelper.
ActiveXState
ActiveXState
446
internal void TransitionUpTo(ActiveXHelper.
ActiveXState
state)
454
ActiveXHelper.
ActiveXState
oldState;
462
case ActiveXHelper.
ActiveXState
.Passive:
464
Debug.Assert(this.ActiveXState == ActiveXHelper.
ActiveXState
.Loaded, "Failed transition");
465
this.ActiveXState = ActiveXHelper.
ActiveXState
.Loaded;
467
case ActiveXHelper.
ActiveXState
.Loaded:
469
Debug.Assert(this.ActiveXState == ActiveXHelper.
ActiveXState
.Running, "Failed transition");
470
this.ActiveXState = ActiveXHelper.
ActiveXState
.Running;
472
case ActiveXHelper.
ActiveXState
.Running:
474
Debug.Assert(this.ActiveXState == ActiveXHelper.
ActiveXState
.InPlaceActive, "Failed transition");
475
this.ActiveXState = ActiveXHelper.
ActiveXState
.InPlaceActive;
477
case ActiveXHelper.
ActiveXState
.InPlaceActive:
479
Debug.Assert(this.ActiveXState == ActiveXHelper.
ActiveXState
.UIActive, "Failed transition");
480
this.ActiveXState = ActiveXHelper.
ActiveXState
.UIActive;
498
internal void TransitionDownTo(ActiveXHelper.
ActiveXState
state)
506
ActiveXHelper.
ActiveXState
oldState;
514
case ActiveXHelper.
ActiveXState
.Open:
516
this.ActiveXState = ActiveXHelper.
ActiveXState
.UIActive;
518
case ActiveXHelper.
ActiveXState
.UIActive:
520
Debug.Assert(this.ActiveXState == ActiveXHelper.
ActiveXState
.InPlaceActive, "Failed transition");
521
this.ActiveXState = ActiveXHelper.
ActiveXState
.InPlaceActive;
523
case ActiveXHelper.
ActiveXState
.InPlaceActive:
525
Debug.Assert(this.ActiveXState == ActiveXHelper.
ActiveXState
.Running, "Failed transition");
526
this.ActiveXState = ActiveXHelper.
ActiveXState
.Running;
528
case ActiveXHelper.
ActiveXState
.Running:
530
Debug.Assert(this.ActiveXState == ActiveXHelper.
ActiveXState
.Loaded, "Failed transition");
531
this.ActiveXState = ActiveXHelper.
ActiveXState
.Loaded;
533
case ActiveXHelper.
ActiveXState
.Loaded:
535
Debug.Assert(this.ActiveXState == ActiveXHelper.
ActiveXState
.Passive, "Failed transition");
536
this.ActiveXState = ActiveXHelper.
ActiveXState
.Passive;
632
Debug.Assert(this.ActiveXState == ActiveXHelper.
ActiveXState
.Passive, "Wrong start state to transition from");
633
if (this.ActiveXState == ActiveXHelper.
ActiveXState
.Passive)
644
this.ActiveXState = ActiveXHelper.
ActiveXState
.Loaded;
662
Debug.Assert(this.ActiveXState == ActiveXHelper.
ActiveXState
.Loaded, "Wrong start state to transition from");
663
if (this.ActiveXState == ActiveXHelper.
ActiveXState
.Loaded)
690
this.ActiveXState = ActiveXHelper.
ActiveXState
.Passive;
703
Debug.Assert(this.ActiveXState == ActiveXHelper.
ActiveXState
.Loaded, "Wrong start state to transition from");
704
if (this.ActiveXState == ActiveXHelper.
ActiveXState
.Loaded)
722
this.ActiveXState = ActiveXHelper.
ActiveXState
.Running;
735
Debug.Assert(this.ActiveXState == ActiveXHelper.
ActiveXState
.Running, "Wrong start state to transition from");
736
if (this.ActiveXState == ActiveXHelper.
ActiveXState
.Running)
746
this.ActiveXState = ActiveXHelper.
ActiveXState
.Loaded;
759
Debug.Assert(this.ActiveXState == ActiveXHelper.
ActiveXState
.Running, "Wrong start state to transition from");
760
if (this.ActiveXState == ActiveXHelper.
ActiveXState
.Running)
780
this.ActiveXState = ActiveXHelper.
ActiveXState
.InPlaceActive;
793
Debug.Assert(this.ActiveXState == ActiveXHelper.
ActiveXState
.InPlaceActive, "Wrong start state to transition from");
794
if (this.ActiveXState == ActiveXHelper.
ActiveXState
.InPlaceActive)
802
this.ActiveXState = ActiveXHelper.
ActiveXState
.Running;
815
Debug.Assert(this.ActiveXState == ActiveXHelper.
ActiveXState
.InPlaceActive, "Wrong start state to transition from");
816
if (this.ActiveXState == ActiveXHelper.
ActiveXState
.InPlaceActive)
822
this.ActiveXState = ActiveXHelper.
ActiveXState
.UIActive;
835
Debug.Assert(this.ActiveXState == ActiveXHelper.
ActiveXState
.UIActive, "Wrong start state to transition from");
836
if (this.ActiveXState == ActiveXHelper.
ActiveXState
.UIActive)
843
this.ActiveXState = ActiveXHelper.
ActiveXState
.InPlaceActive;
1030
Invariant.Assert(axhost.ActiveXState >= ActiveXHelper.
ActiveXState
.InPlaceActive, "Should at least be InPlaceActive when getting focus");
1032
if (axhost.ActiveXState < ActiveXHelper.
ActiveXState
.UIActive)
1034
axhost.TransitionUpTo(ActiveXHelper.
ActiveXState
.UIActive);
1050
Invariant.Assert(axhost.ActiveXState >= ActiveXHelper.
ActiveXState
.UIActive, "Should at least be UIActive when losing focus");
1056
axhost.TransitionDownTo(ActiveXHelper.
ActiveXState
.InPlaceActive);
1223
private ActiveXHelper.
ActiveXState
_axState = ActiveXHelper.
ActiveXState
.Passive;