Updates the position of the specified rectangle, adjusting it for grid alignment if grid alignment mode is enabled.
Protected Function GetUpdatedRect ( _ originalRect As Rectangle, _ dragRect As Rectangle, _ updateSize As Boolean _ ) As Rectangle
protected Rectangle GetUpdatedRect( Rectangle originalRect, Rectangle dragRect, bool updateSize )
protected: Rectangle GetUpdatedRect( Rectangle originalRect, Rectangle dragRect, bool updateSize )
member GetUpdatedRect : originalRect:Rectangle * dragRect:Rectangle * updateSize:bool -> Rectangle
This method aligns the specified rectangle to the grid if grid alignment is enabled.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2