public virtual IManualInteractionResult Move( IWindowElement window, double top, double left )
{
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 dataSnapshot = (WindowElementData)data.Clone();
window.Move( top, left );
return new MoveResult( this, data, dataSnapshot );
}
return NullResult.Default;
}