Share 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
'Usage
Dim instance As DesignerWindowPane 
Dim returnValue As Integer 

returnValue = CType(instance, IVsWindowFrameNotify).OnSize()
int IVsWindowFrameNotify.OnSize()
private:
virtual int OnSize() sealed = IVsWindowFrameNotify::OnSize
JScript does not support explicit interface implementations.

Return Value

Type: System.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

DesignerWindowPane Members

Microsoft.VisualStudio.Shell.Design Namespace