Version

GetSize(EditorSizeInfo) Method

Used to determine the size preferred/required by the editor.
Syntax
'Declaration
 
Protected Overloads Overrides Function GetSize( _
   ByRef sizeInfo As EmbeddableEditorBase.EditorSizeInfo _
) As Size
protected override Size GetSize( 
   ref EmbeddableEditorBase.EditorSizeInfo sizeInfo
)

Parameters

sizeInfo
Structure that provides information regarding the size calculation including the owner for which the size calculation is occuring, whether to exclude edit elements, whether to include borders, etc.

Return Value

The size needed to render the value by the editor based upon the specified options.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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