22 writes to ActiveXState
PresentationFramework (22)
src\Framework\MS\Internal\Controls\ActiveXSite.cs (1)
381this.Host.ActiveXState = value ;
src\Framework\System\Windows\Controls\WebBrowser.cs (2)
1287ActiveXState = ActiveXHelper.ActiveXState.UIActive; 1330this.ActiveXState = ActiveXHelper.ActiveXState.UIActive;
src\Framework\System\Windows\Interop\ActiveXHost.cs (19)
465this.ActiveXState = ActiveXHelper.ActiveXState.Loaded; 470this.ActiveXState = ActiveXHelper.ActiveXState.Running; 475this.ActiveXState = ActiveXHelper.ActiveXState.InPlaceActive; 480this.ActiveXState = ActiveXHelper.ActiveXState.UIActive; 484this.ActiveXState = this.ActiveXState + 1; // To exit the loop 516this.ActiveXState = ActiveXHelper.ActiveXState.UIActive; 521this.ActiveXState = ActiveXHelper.ActiveXState.InPlaceActive; 526this.ActiveXState = ActiveXHelper.ActiveXState.Running; 531this.ActiveXState = ActiveXHelper.ActiveXState.Loaded; 536this.ActiveXState = ActiveXHelper.ActiveXState.Passive; 540this.ActiveXState = this.ActiveXState - 1; // To exit the loop 644this.ActiveXState = ActiveXHelper.ActiveXState.Loaded; 690this.ActiveXState = ActiveXHelper.ActiveXState.Passive; 722this.ActiveXState = ActiveXHelper.ActiveXState.Running; 746this.ActiveXState = ActiveXHelper.ActiveXState.Loaded; 780this.ActiveXState = ActiveXHelper.ActiveXState.InPlaceActive; 802this.ActiveXState = ActiveXHelper.ActiveXState.Running; 822this.ActiveXState = ActiveXHelper.ActiveXState.UIActive; 843this.ActiveXState = ActiveXHelper.ActiveXState.InPlaceActive;
43 references to ActiveXState
PresentationFramework (43)
src\Framework\MS\Internal\Controls\ActiveXContainer.cs (1)
91_host.ActiveXState == ActiveXHelper.ActiveXState.Running )) )
src\Framework\MS\Internal\Controls\ActiveXSite.cs (1)
376return this.Host.ActiveXState ;
src\Framework\System\Windows\Controls\WebBrowser.cs (4)
1284if (ActiveXState != ActiveXHelper.ActiveXState.UIActive && this.HasFocusWithinCore()) 1286Invariant.Assert(ActiveXState == ActiveXHelper.ActiveXState.InPlaceActive); 1308Invariant.Assert(ActiveXState >= ActiveXHelper.ActiveXState.UIActive, "Should be at least UIActive when we are processing accelerator keys"); 1324Invariant.Assert(ActiveXState >= ActiveXHelper.ActiveXState.InPlaceActive, "Should be at least InPlaceActive when tabbed into");
src\Framework\System\Windows\Interop\ActiveXHost.cs (37)
456while (state > this.ActiveXState) 458oldState = this.ActiveXState; 460switch (this.ActiveXState) 464Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Loaded, "Failed transition"); 469Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Running, "Failed transition"); 474Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.InPlaceActive, "Failed transition"); 479Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.UIActive, "Failed transition"); 484this.ActiveXState = this.ActiveXState + 1; // To exit the loop 488OnActiveXStateChange((int)oldState, (int)this.ActiveXState); 508while (state < this.ActiveXState) 510oldState = this.ActiveXState; 512switch (this.ActiveXState) 520Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.InPlaceActive, "Failed transition"); 525Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Running, "Failed transition"); 530Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Loaded, "Failed transition"); 535Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Passive, "Failed transition"); 540this.ActiveXState = this.ActiveXState - 1; // To exit the loop 544OnActiveXStateChange((int)oldState, (int)this.ActiveXState); 632Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Passive, "Wrong start state to transition from"); 633if (this.ActiveXState == ActiveXHelper.ActiveXState.Passive) 662Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Loaded, "Wrong start state to transition from"); 663if (this.ActiveXState == ActiveXHelper.ActiveXState.Loaded) 703Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Loaded, "Wrong start state to transition from"); 704if (this.ActiveXState == ActiveXHelper.ActiveXState.Loaded) 735Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Running, "Wrong start state to transition from"); 736if (this.ActiveXState == ActiveXHelper.ActiveXState.Running) 759Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.Running, "Wrong start state to transition from"); 760if (this.ActiveXState == ActiveXHelper.ActiveXState.Running) 793Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.InPlaceActive, "Wrong start state to transition from"); 794if (this.ActiveXState == ActiveXHelper.ActiveXState.InPlaceActive) 815Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.InPlaceActive, "Wrong start state to transition from"); 816if (this.ActiveXState == ActiveXHelper.ActiveXState.InPlaceActive) 835Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.UIActive, "Wrong start state to transition from"); 836if (this.ActiveXState == ActiveXHelper.ActiveXState.UIActive) 1030Invariant.Assert(axhost.ActiveXState >= ActiveXHelper.ActiveXState.InPlaceActive, "Should at least be InPlaceActive when getting focus"); 1032if (axhost.ActiveXState < ActiveXHelper.ActiveXState.UIActive) 1050Invariant.Assert(axhost.ActiveXState >= ActiveXHelper.ActiveXState.UIActive, "Should at least be UIActive when losing focus");