Partager via


DesignerWindowPane.IVsWindowFrameNotify.OnSize Method

Notifies the Package that a window is being resized.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Private Function OnSize As Integer Implements IVsWindowFrameNotify.OnSize
int IVsWindowFrameNotify.OnSize()
private:
virtual int OnSize() sealed = IVsWindowFrameNotify::OnSize
private abstract OnSize : unit -> int  
private override OnSize : unit -> int
JScript does not support explicit interface implementations.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsWindowFrameNotify.OnSize()

.NET Framework Security

See Also

Reference

DesignerWindowPane Class

Microsoft.VisualStudio.Shell.Design Namespace