Parameters

Returns

that contains the wrapped content.

Remarks

The framework element that is passed must be disconnected from the parent first. It is recommended to first check whether a framework element can be wrapped by using the CanBeWrapped(FrameworkElement) method. This method will automatically handle the disconnecting of the framework element from the parent is the parentContentControl is passed.

Parameters

Name

Description

frameworkElement

The framework element.

wrapOptions

The wrap options.

parentContentControl

The parent content control.

Returns

that contains the wrapped content.

Remarks

The framework element that is passed must be disconnected from the parent first. It is recommended to first check whether a framework element can be wrapped by using the CanBeWrapped(FrameworkElement) method. This method will automatically handle the disconnecting of the framework element from the parent is the parentContentControl is passed.