internal DocumentPaneControlOverlayArea(
     IOverlayWindow overlayWindow,
     LayoutDocumentPaneControl documentPaneControl)
     : base(overlayWindow)
 {
     _documentPaneControl = documentPaneControl;
     base.SetScreenDetectionArea(new Rect(_documentPaneControl.PointToScreenDPI(new Point()), _documentPaneControl.TransformActualSizeToAncestor()));
 }
Пример #2
0
        internal DocumentPaneControlOverlayArea(IOverlayWindow overlayWindow, LayoutDocumentPaneControl documentPaneControl) : base(overlayWindow)
        {
            this._documentPaneControl = documentPaneControl;
            LayoutDocumentPaneControl layoutDocumentPaneControl = this._documentPaneControl;
            Point point = new Point();

            base.SetScreenDetectionArea(new Rect(layoutDocumentPaneControl.PointToScreenDPI(point), this._documentPaneControl.TransformActualSizeToAncestor()));
        }
 internal DocumentPaneControlOverlayArea(
     IOverlayWindow overlayWindow,
     LayoutDocumentPaneControl documentPaneControl)
     : base(overlayWindow)
 {
     _documentPaneControl = documentPaneControl;
     base.SetScreenDetectionArea(new Rect(
         _documentPaneControl.PointToScreenDPI(new Point()),
         _documentPaneControl.TransformActualSizeToAncestor()));
 }