public virtual IManualInteractionResult Resize( IWindowElement window, double width, double height )
{
if( Dispatcher.CurrentDispatcher != Application.Current.Dispatcher ) throw new InvalidOperationException( "This method should only be called by the Application Thread." );
WindowElementData data = null;
if( _dic.TryGetValue( window, out data ) )
{
WindowElementData cloneData = (WindowElementData)data.Clone();
window.Resize( width, height );
return new ResizeResult( this, data, cloneData );
}
return NullResult.Default;
}