80 references to ActiveXState
PresentationFramework (80)
MS\Internal\Controls\ActiveXContainer.cs (1)
71_host.ActiveXState == ActiveXHelper.ActiveXState.Running)))
MS\Internal\Controls\ActiveXSite.cs (8)
167if (HostState >= ActiveXHelper.ActiveXState.InPlaceActive) 231HostState = ActiveXHelper.ActiveXState.InPlaceActive; 241HostState = ActiveXHelper.ActiveXState.UIActive; 278if (HostState > ActiveXHelper.ActiveXState.InPlaceActive) 280HostState = ActiveXHelper.ActiveXState.InPlaceActive; 287if (HostState == ActiveXHelper.ActiveXState.UIActive) 293HostState = ActiveXHelper.ActiveXState.Running; 315ActiveXHelper.ActiveXState HostState
System\Windows\Controls\WebBrowser.cs (7)
652TransitionUpTo(ActiveXHelper.ActiveXState.Running); 927if (ActiveXState != ActiveXHelper.ActiveXState.UIActive && this.HasFocusWithinCore()) 929Invariant.Assert(ActiveXState == ActiveXHelper.ActiveXState.InPlaceActive); 930ActiveXState = ActiveXHelper.ActiveXState.UIActive; 946Invariant.Assert(ActiveXState >= ActiveXHelper.ActiveXState.UIActive, "Should be at least UIActive when we are processing accelerator keys"); 957Invariant.Assert(ActiveXState >= ActiveXHelper.ActiveXState.InPlaceActive, "Should be at least InPlaceActive when tabbed into"); 963this.ActiveXState = ActiveXHelper.ActiveXState.UIActive;
System\Windows\Interop\ActiveXHost.cs (64)
142TransitionUpTo(ActiveXHelper.ActiveXState.InPlaceActive); 233TransitionDownTo(ActiveXHelper.ActiveXState.Passive); 370internal ActiveXHelper.ActiveXState ActiveXState 392internal void TransitionUpTo(ActiveXHelper.ActiveXState state) 400ActiveXHelper.ActiveXState oldState; 408case ActiveXHelper.ActiveXState.Passive: 410Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Loaded, "Failed transition"); 411this.ActiveXState = ActiveXHelper.ActiveXState.Loaded; 413case ActiveXHelper.ActiveXState.Loaded: 415Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Running, "Failed transition"); 416this.ActiveXState = ActiveXHelper.ActiveXState.Running; 418case ActiveXHelper.ActiveXState.Running: 420Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.InPlaceActive, "Failed transition"); 421this.ActiveXState = ActiveXHelper.ActiveXState.InPlaceActive; 423case ActiveXHelper.ActiveXState.InPlaceActive: 425Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.UIActive, "Failed transition"); 426this.ActiveXState = ActiveXHelper.ActiveXState.UIActive; 444internal void TransitionDownTo(ActiveXHelper.ActiveXState state) 452ActiveXHelper.ActiveXState oldState; 460case ActiveXHelper.ActiveXState.Open: 462this.ActiveXState = ActiveXHelper.ActiveXState.UIActive; 464case ActiveXHelper.ActiveXState.UIActive: 466Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.InPlaceActive, "Failed transition"); 467this.ActiveXState = ActiveXHelper.ActiveXState.InPlaceActive; 469case ActiveXHelper.ActiveXState.InPlaceActive: 471Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Running, "Failed transition"); 472this.ActiveXState = ActiveXHelper.ActiveXState.Running; 474case ActiveXHelper.ActiveXState.Running: 476Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Loaded, "Failed transition"); 477this.ActiveXState = ActiveXHelper.ActiveXState.Loaded; 479case ActiveXHelper.ActiveXState.Loaded: 481Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Passive, "Failed transition"); 482this.ActiveXState = ActiveXHelper.ActiveXState.Passive; 552Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Passive, "Wrong start state to transition from"); 553if (this.ActiveXState == ActiveXHelper.ActiveXState.Passive) 564this.ActiveXState = ActiveXHelper.ActiveXState.Loaded; 575Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Loaded, "Wrong start state to transition from"); 576if (this.ActiveXState == ActiveXHelper.ActiveXState.Loaded) 603this.ActiveXState = ActiveXHelper.ActiveXState.Passive; 609Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Loaded, "Wrong start state to transition from"); 610if (this.ActiveXState == ActiveXHelper.ActiveXState.Loaded) 628this.ActiveXState = ActiveXHelper.ActiveXState.Running; 634Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Running, "Wrong start state to transition from"); 635if (this.ActiveXState == ActiveXHelper.ActiveXState.Running) 645this.ActiveXState = ActiveXHelper.ActiveXState.Loaded; 651Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Running, "Wrong start state to transition from"); 652if (this.ActiveXState == ActiveXHelper.ActiveXState.Running) 672this.ActiveXState = ActiveXHelper.ActiveXState.InPlaceActive; 678Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.InPlaceActive, "Wrong start state to transition from"); 679if (this.ActiveXState == ActiveXHelper.ActiveXState.InPlaceActive) 687this.ActiveXState = ActiveXHelper.ActiveXState.Running; 693Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.InPlaceActive, "Wrong start state to transition from"); 694if (this.ActiveXState == ActiveXHelper.ActiveXState.InPlaceActive) 700this.ActiveXState = ActiveXHelper.ActiveXState.UIActive; 706Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.UIActive, "Wrong start state to transition from"); 707if (this.ActiveXState == ActiveXHelper.ActiveXState.UIActive) 714this.ActiveXState = ActiveXHelper.ActiveXState.InPlaceActive; 880Invariant.Assert(axhost.ActiveXState >= ActiveXHelper.ActiveXState.InPlaceActive, "Should at least be InPlaceActive when getting focus"); 882if (axhost.ActiveXState < ActiveXHelper.ActiveXState.UIActive) 884axhost.TransitionUpTo(ActiveXHelper.ActiveXState.UIActive); 900Invariant.Assert(axhost.ActiveXState >= ActiveXHelper.ActiveXState.UIActive, "Should at least be UIActive when losing focus"); 906axhost.TransitionDownTo(ActiveXHelper.ActiveXState.InPlaceActive); 1046private ActiveXHelper.ActiveXState _axState = ActiveXHelper.ActiveXState.Passive;