GetPreferredSize Method
See Also 
SourceCode.Workflow.Design.Interop Namespace > TemplateSelection Class : GetPreferredSize Method



proposedSize

Glossary Item Box

Syntax

Visual Basic (Declaration)  
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Overridable Function GetPreferredSize( _
   ByVal proposedSize As Size _
) As Size
Visual Basic (Usage) Copy Code
Dim instance As TemplateSelection
Dim proposedSize As Size
Dim value As Size
 
value = instance.GetPreferredSize(proposedSize)
C#  
[EditorBrowsable(EditorBrowsableState.Advanced)]
public virtual Size GetPreferredSize( 
   Size proposedSize
)
C++/CLI  
[EditorBrowsable(EditorBrowsableState.Advanced)]
public:
virtual Size GetPreferredSize( 
   Size proposedSize
) 

Parameters

proposedSize

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also