Dreamine.UI.Wpf.Equipment 1.0.1
Dreamine.UI.Wpf.Equipment 사용자 인터페이스 기능과 구성 요소를 제공합니다.
로딩중...
검색중...
일치하는것 없음
Dreamine.UI.Wpf.Equipment.DreamineVirtualKeyboard.ShiftWindowOntoScreenHelper 클래스 참조

더 자세히 ...

정적 Public 멤버 함수

static void ShiftWindowOntoScreen (Window window, Rect waDip)

상세한 설명

창의 위치를 지정한 화면 작업 영역 안으로 보정합니다.

ShiftWindowOntoScreenHelper.cs 파일의 13 번째 라인에서 정의되었습니다.

멤버 함수 문서화

◆ ShiftWindowOntoScreen()

void Dreamine.UI.Wpf.Equipment.DreamineVirtualKeyboard.ShiftWindowOntoScreenHelper.ShiftWindowOntoScreen ( Window window,
Rect waDip )
inlinestatic

창 크기를 고려하여 좌표를 작업 영역 경계 안으로 이동합니다.

매개변수
window위치를 보정할 창입니다.
waDip장치 독립 단위의 허용 작업 영역입니다.
예외
NullReferenceExceptionwindownull일 때 발생합니다.

ShiftWindowOntoScreenHelper.cs 파일의 48 번째 라인에서 정의되었습니다.

49 {
50 double width = double.IsNaN(window.Width) || window.Width == 0 ? window.ActualWidth : window.Width;
51 double height = double.IsNaN(window.Height) || window.Height == 0 ? window.ActualHeight : window.Height;
52
53 double left = window.Left;
54 double top = window.Top;
55
56 if (left + width > waDip.Right) left = waDip.Right - width;
57 if (left < waDip.Left) left = waDip.Left;
58 if (top + height > waDip.Bottom) top = waDip.Bottom - height;
59 if (top < waDip.Top) top = waDip.Top;
60
61 window.Left = left;
62 window.Top = top;
63 }

다음에 의해서 참조됨 : Dreamine.UI.Wpf.Equipment.DreamineVirtualKeyboard.DreamineVirtualKeyboardWindow.CalcKeyboardPosition().

이 함수를 호출하는 함수들에 대한 그래프입니다.:

이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: