ActivityPreviewDesigner.OnLayoutSize Method

Sets the size of the visual cues on the designers contained within the ActivityPreviewDesigner.

Namespace: System.Workflow.ComponentModel.Design
Assembly: System.Workflow.ComponentModel (in system.workflow.componentmodel.dll)

protected override Size OnLayoutSize (
	ActivityDesignerLayoutEventArgs e
protected Size OnLayoutSize (
	ActivityDesignerLayoutEventArgs e
protected override function OnLayoutSize (
	e : ActivityDesignerLayoutEventArgs
) : Size
Not applicable.



The ActivityDesignerLayoutEventArgs that contains the event data.

Return Value

The Size that contains the new size settings for the ActivityPreviewDesigner.

OnLayoutSize determines the size of the ActivityPreviewDesigner preview strip that displays the collection of child activity designers and the preview window that displays the selected activity designer. OnLayoutSize also determines the size of the preview window depending on whether the designer is in edit or preview mode.

If Expanded returns false, OnLayoutSize returns the base implementation inherited from SequentialActivityDesigner.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions