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