WPFCustomControls::WindowBoundsMemento Class Reference


Detailed Description

Stores a Window's size and location during the current session.

To use this memento:

  1. Maintain a memento instance beyond the lifetime of the window it manages, such as by keeping a static memento in the window class.
  2. Set up default values in the Window's constructor or XAML.
  3. Call WindowBoundsMemento.ManageWindow, passing in the Window.

List of all members.

Public Member Functions

  WindowBoundsMemento ()
void  ManageWindow (Window window)

Constructor & Destructor Documentation

WPFCustomControls::WindowBoundsMemento::WindowBoundsMemento ( ) [inline]

Member Function Documentation

void WPFCustomControls::WindowBoundsMemento::ManageWindow ( Window  window ) [inline]

WPFCustomControls::WindowBoundsMemento WPFCustomControls::WindowBoundsMemento WPFCustomControls::WindowBoundsMemento WPFCustomControls::WindowBoundsMemento WPFCustomControls::WindowBoundsMemento WPFCustomControls::WindowBoundsMemento WPFCustomControls::WindowBoundsMemento WPFCustomControls::WindowBoundsMemento WPFCustomControls::WindowBoundsMemento WPFCustomControls::WindowBoundsMemento
WPFCustomControls::WindowBoundsMemento WPFCustomControls::WindowBoundsMemento WPFCustomControls::WindowBoundsMemento WPFCustomControls::WindowBoundsMemento WPFCustomControls::WindowBoundsMemento WPFCustomControls::WindowBoundsMemento WPFCustomControls::WindowBoundsMemento WPFCustomControls::WindowBoundsMemento WPFCustomControls::WindowBoundsMemento WPFCustomControls::WindowBoundsMemento