ElementExtensions.StartCenterScreen<TWindow> method
이 콘텐츠는 아직 번역되지 않았습니다.
Sets the window to open centered on the primary screen. Must be called before Show.
public static TWindow StartCenterScreen<TWindow>(this TWindow window) where TWindow : Window| parameter | description |
|---|---|
| TWindow | Window type. |
| window | Target window. |
Return Value
Section titled “Return Value”The window for chaining.
Remarks
Section titled “Remarks”Do not call inside OnBuild - setting startup position after the window is shown throws an exception.
Sets: Window.StartupLocation
See Also
Section titled “See Also”- class Window
- class ElementExtensions
- namespace Aprillz.MewUI.Controls