共用方式為


DiagramView.OnSizeChanged Method

Handles the SizeChanged event by repositioning and resizing all of child control

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Protected Overrides Sub OnSizeChanged ( _
    e As EventArgs _
)
protected override void OnSizeChanged(
    EventArgs e
)
protected:
virtual void OnSizeChanged(
    EventArgs^ e
) override
abstract OnSizeChanged : 
        e:EventArgs -> unit 
override OnSizeChanged : 
        e:EventArgs -> unit 
protected override function OnSizeChanged(
    e : EventArgs
)

Parameters

.NET Framework Security

See Also

Reference

DiagramView Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace