Version

Initialize Method (EmbeddableUIElementBase)

Called to initialize the element.
Syntax
'Declaration
 
Public Overridable Sub Initialize( _
   ByVal owner As EmbeddableEditorOwnerBase, _
   ByVal editor As EmbeddableEditorBase, _
   ByVal ownerContext As Object, _
   ByVal includeEditElements As Boolean, _
   ByVal reserveSpaceForEditElements As Boolean, _
   ByVal drawOuterBorders As Boolean, _
   ByVal isToolTip As Boolean _
) 

Parameters

owner
An object that implements the EmbeddableEditorOwner interface.
editor
An object that implements the EmbeddableEditor interface.
ownerContext
Context information used by the owner to identify the value.
includeEditElements
If true will add associated elements (e.g. editing elements like spin buttons).
reserveSpaceForEditElements
If true will reserve space for associated elements (e.g. editing elements like spin buttons).
drawOuterBorders
If true the element is expected to draw the outer borders
isToolTip
If true the element should draw as a tooltip, i.e., use SystemColors.Info as a BackColor, and not draw gradients.
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