22 writes to ActiveXState
PresentationFramework (22)
MS\Internal\Controls\ActiveXSite.cs (1)
323this.Host.ActiveXState = value;
System\Windows\Controls\WebBrowser.cs (2)
928ActiveXState = ActiveXHelper.ActiveXState.UIActive; 961this.ActiveXState = ActiveXHelper.ActiveXState.UIActive;
System\Windows\Interop\ActiveXHost.cs (19)
415this.ActiveXState = ActiveXHelper.ActiveXState.Loaded; 420this.ActiveXState = ActiveXHelper.ActiveXState.Running; 425this.ActiveXState = ActiveXHelper.ActiveXState.InPlaceActive; 430this.ActiveXState = ActiveXHelper.ActiveXState.UIActive; 434this.ActiveXState = this.ActiveXState + 1; // To exit the loop 466this.ActiveXState = ActiveXHelper.ActiveXState.UIActive; 471this.ActiveXState = ActiveXHelper.ActiveXState.InPlaceActive; 476this.ActiveXState = ActiveXHelper.ActiveXState.Running; 481this.ActiveXState = ActiveXHelper.ActiveXState.Loaded; 486this.ActiveXState = ActiveXHelper.ActiveXState.Passive; 490this.ActiveXState = this.ActiveXState - 1; // To exit the loop 568this.ActiveXState = ActiveXHelper.ActiveXState.Loaded; 607this.ActiveXState = ActiveXHelper.ActiveXState.Passive; 632this.ActiveXState = ActiveXHelper.ActiveXState.Running; 649this.ActiveXState = ActiveXHelper.ActiveXState.Loaded; 676this.ActiveXState = ActiveXHelper.ActiveXState.InPlaceActive; 691this.ActiveXState = ActiveXHelper.ActiveXState.Running; 704this.ActiveXState = ActiveXHelper.ActiveXState.UIActive; 718this.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)
925if (ActiveXState != ActiveXHelper.ActiveXState.UIActive && this.HasFocusWithinCore()) 927Invariant.Assert(ActiveXState == ActiveXHelper.ActiveXState.InPlaceActive); 944Invariant.Assert(ActiveXState >= ActiveXHelper.ActiveXState.UIActive, "Should be at least UIActive when we are processing accelerator keys"); 955Invariant.Assert(ActiveXState >= ActiveXHelper.ActiveXState.InPlaceActive, "Should be at least InPlaceActive when tabbed into");
System\Windows\Interop\ActiveXHost.cs (37)
406while (state > this.ActiveXState) 408oldState = this.ActiveXState; 410switch (this.ActiveXState) 414Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Loaded, "Failed transition"); 419Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Running, "Failed transition"); 424Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.InPlaceActive, "Failed transition"); 429Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.UIActive, "Failed transition"); 434this.ActiveXState = this.ActiveXState + 1; // To exit the loop 438OnActiveXStateChange((int)oldState, (int)this.ActiveXState); 458while (state < this.ActiveXState) 460oldState = this.ActiveXState; 462switch (this.ActiveXState) 470Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.InPlaceActive, "Failed transition"); 475Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Running, "Failed transition"); 480Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Loaded, "Failed transition"); 485Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Passive, "Failed transition"); 490this.ActiveXState = this.ActiveXState - 1; // To exit the loop 494OnActiveXStateChange((int)oldState, (int)this.ActiveXState); 556Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Passive, "Wrong start state to transition from"); 557if (this.ActiveXState == ActiveXHelper.ActiveXState.Passive) 579Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Loaded, "Wrong start state to transition from"); 580if (this.ActiveXState == ActiveXHelper.ActiveXState.Loaded) 613Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Loaded, "Wrong start state to transition from"); 614if (this.ActiveXState == ActiveXHelper.ActiveXState.Loaded) 638Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Running, "Wrong start state to transition from"); 639if (this.ActiveXState == ActiveXHelper.ActiveXState.Running) 655Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Running, "Wrong start state to transition from"); 656if (this.ActiveXState == ActiveXHelper.ActiveXState.Running) 682Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.InPlaceActive, "Wrong start state to transition from"); 683if (this.ActiveXState == ActiveXHelper.ActiveXState.InPlaceActive) 697Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.InPlaceActive, "Wrong start state to transition from"); 698if (this.ActiveXState == ActiveXHelper.ActiveXState.InPlaceActive) 710Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.UIActive, "Wrong start state to transition from"); 711if (this.ActiveXState == ActiveXHelper.ActiveXState.UIActive) 884Invariant.Assert(axhost.ActiveXState >= ActiveXHelper.ActiveXState.InPlaceActive, "Should at least be InPlaceActive when getting focus"); 886if (axhost.ActiveXState < ActiveXHelper.ActiveXState.UIActive) 904Invariant.Assert(axhost.ActiveXState >= ActiveXHelper.ActiveXState.UIActive, "Should at least be UIActive when losing focus");