Called from inside the
UIElement.PositionChildElements method of the parent element to create and position the embedded element or elements.
Parameters
- parentElement
- The element that will contain the embedded element.
- owner
- An object that derives from the EmbeddableEditorOwnerBase class.
- ownerContext
- Context information that is used to get the value to render via a call to the EmbeddableEditorOwnerBase.GetValue method.
- 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
- previousElement
- The element returned the prior time the parent element's UIElement.PositionChildElements method was called.
Return Value
An instance of a class derived from EmbeddableUIElementBase.
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