src/Lurker.UI/ViewModels/PoeOverlayBase.cs
/// <summary>
/// Called when an attached view's Loaded event fires.
/// </summary>
/// <param name="view">The view.</param>
Called when an attached view's Loaded event fires.
Called when an attached view ' s Loaded event fires .
protected override void OnViewLoaded(object view)
        {
            this.View = view as Window;
            this.View.ShowActivated = false;
            var source = PresentationSource.FromVisual(this.View);
            if (source != null)
            {
                this._scaleX = source.CompositionTarget.TransformToDevice.M11;
                this._scaleY = source.CompositionTarget.TransformToDevice.M22;
            }
            this.SetWindowPosition(this.DockingHelper.WindowInformation);
        }
protected override void OnViewLoaded ( object view ) { this . View = view as Window ; this . View . ShowActivated = false ; var source = PresentationSource . FromVisual ( this . View ) ; if ( source != null ) { this . _scaleX = source . CompositionTarget . TransformToDevice . M11 ; this . _scaleY = source . CompositionTarget . TransformToDevice . M22 ; } this . SetWindowPosition ( this . DockingHelper . WindowInformation ) ; }
Called when an attached view's Loaded event fires.
Called when an attached view ' s Loaded event fires .
view
object
None