Click or drag to resize

MainWindow methods

The MainWindow Type exposes the following members.

Methods
 NameDescription of the
Public MethodForceRecalculateWindowMeasures Sets the window size, taking maximum limits into account, to the height and width of the content and the SizeToContent property to WidthAndHeight. Then re-centre the window relative to the last position.
Public MethodInitializeComponent InitializeComponent
Public MethodMoveWindowToStartPosition Centres Window on Screen.
Protected MethodOnSourceinitialized Raises the System.Windows.Window.Sourceinitialized event.
(Overwrites WindowOnSourceinitialized(EventArgs))
Public MethodRecalculateWindowMeasures Sets the window size, taking maximum limits into account, to the height and width of the content and the SizeToContent property to WidthAndHeight. Then re-centre the window relative to the last position.
Back to the top
See also