콘텐츠로 이동

ElementExtensions.StartManualPosition method

이 콘텐츠는 아직 번역되지 않았습니다.

Sets the window to open at the specified position in DIPs (primary monitor DPI basis). Must be called before Show.

public static Window StartManualPosition(this Window window, double leftDip, double topDip)
parameter description
window Target window.
leftDip Left position in DIPs.
topDip Top position in DIPs.

The window for chaining.

Do not call inside OnBuild - setting startup position after the window is shown throws an exception.