Version

CreateEmbeddableUIElement Method (ColorPickerEditor)

Creates the embeddable element
Syntax
'Declaration
 
Protected Overrides Function CreateEmbeddableUIElement( _
   ByVal parentElement As UIElement, _
   ByVal owner As EmbeddableEditorOwnerBase, _
   ByVal ownerContext As Object, _
   ByVal includeEditElements As Boolean, _
   ByVal reserveSpaceForEditElements As Boolean, _
   ByVal drawOuterBorders As Boolean, _
   ByVal isToolTip As Boolean _
) As EditorWithTextAndDropDownUIElementBase

Parameters

parentElement
The parent element.
owner
An object that implements to EmbeddableEditorOwner 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.

Return Value

A new EditorWithTextAndDropDownUIElementBase instance based on the specified parameters.
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