編輯

共用方式為


FreeformActivityDesigner.OnResizing(ActivityDesignerResizeEventArgs) Method

Definition

Notifies the FreeformActivityDesigner when a user is visually resizing it at design time.

protected:
 override void OnResizing(System::Workflow::ComponentModel::Design::ActivityDesignerResizeEventArgs ^ e);
protected override void OnResizing (System.Workflow.ComponentModel.Design.ActivityDesignerResizeEventArgs e);
override this.OnResizing : System.Workflow.ComponentModel.Design.ActivityDesignerResizeEventArgs -> unit
Protected Overrides Sub OnResizing (e As ActivityDesignerResizeEventArgs)

Parameters

e
ActivityDesignerResizeEventArgs

The ActivityDesignerResizeEventArgs that defines the operation event arguments.

Remarks

If AutoSize is set to true and AutoSizeMode is set to AutoSizeMode.GrowOnly, OnResizing performs all resizing tasks on the workflow design surface. If AutoSize is set to true and AutoSizeMode is set to AutoSizeMode.GrowAndShrink, OnResizing performs layout tasks, but no resizing tasks. If AutoSize is set to false, all contained designers retain their previous locations on the FreeformActivityDesigner.

Applies to