Share via


DesktopApplicationUIBase.CreateFloatingPanel<TIcon> Method

Definition

Creates a new floating WpfPanel for hosting controls or applications.

public:
generic <typename TIcon>
 abstract System::Object ^ CreateFloatingPanel(bool captionUsed, bool toolWindow, System::String ^ panelName, System::Object ^ app, TIcon icon, System::String ^ initializationXml, bool closeButton);
public abstract object CreateFloatingPanel<TIcon> (bool captionUsed, bool toolWindow, string panelName, object app, TIcon icon, string initializationXml, bool closeButton);
abstract member CreateFloatingPanel : bool * bool * string * obj * 'Icon * string * bool -> obj
Public MustOverride Function CreateFloatingPanel(Of TIcon) (captionUsed As Boolean, toolWindow As Boolean, panelName As String, app As Object, icon As TIcon, initializationXml As String, closeButton As Boolean) As Object

Type Parameters

TIcon

Parameters

captionUsed
Boolean

True if caption is used, otherwise false.

toolWindow
Boolean

True if the tool window is used, otherwise false.

panelName
String

Specifies the panel name.

app
Object

Specifies the application.

icon
TIcon

Specifies the icon for the panel. If the app implements IHostedApplication2 or above the icon is pulled from the application.

initializationXml
String

Specifies the initialization XML.

closeButton
Boolean

True if the close button is present, otherwise false.

Returns

A control reference to the panel.

Applies to