Is called to get the size needed to render a value.
Parameters
- owner
- An object that derives from the EmbeddableEditorOwnerBase class.
- ownerContext
- An object that is used to get the value to render via a call to the EmbeddableEditorOwnerBase.GetValue method.
- valueOnly
- If false will include space needed for associated elements (e.g. editing elements like spin buttons).
- full
- If true will return the size required to completely render the value otherwise the size returned should be the preferred size.
- borders
- If true will include the borders
Return Value
Returns the size needed to render a value and optionally its associated elements.
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