Export (0) Print
Expand All

Window.DragResize Method

Silverlight

In trusted applications, begins a mouse drag operation to move the specified window edge or corner.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

'Declaration
<SecuritySafeCriticalAttribute> _
Public Sub DragResize ( _
	resizeEdge As WindowResizeEdge _
)

Parameters

resizeEdge
Type: System.Windows.WindowResizeEdge
The edge or corner that the user is dragging.

ExceptionCondition
UnauthorizedAccessException

The current thread is not the user interface (UI) thread.

SecurityException

Application.HasElevatedPermissions is false.

You typically use this method to implement a way for users to drag the window edges and corners when you hide the window border. For information about hiding the border, see How to: Configure an Application for Out-of-Browser Support.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft