how to maximize the window when there is no max button

Dec 10, 2010 at 2:28 PM


I want to maximize the window by dragging it from the corner. Is it possible using White? or is there another way to maximize the window if there is no maximize icon to click on? Can someone pelase help? Thanks in advance.

Dec 13, 2010 at 7:16 AM



double click on titel bar should also do the job if exist.

or try:


/// <summary>
/// Changes the display state of the window.
/// </summary>
/// <param name="window">The window.</param>
/// <param name="state">The display state.</param>
public static void ChangeDisplayState( Window window, DisplayState state )
    if( window.DisplayState != state )
     window.DisplayState = state;


Dec 13, 2010 at 10:39 AM

window. Focus(DisplayState.Maximized);

I have used this for maximizing my window, but if the window can

not be maximized manuelly by double-clicking on title bar, I am not sure,

if it works.


Dec 13, 2010 at 2:36 PM

Thank you for the response. No, the window can not be maximized manually by double clicking on the title bar, and Also, i treid the funciton ChangeDisplayState and it sdoes not work. The only way it can be expanded to full size is by fragging it using Mouse. Is there  a way in white on strecthing the window using mouse?  Thanks.