Share via


WpfDesktopApplicationUI.CreateFloatingPanel<TIcon> Method

Definition

Creates a new floating pfPanel for hosting controls or applications.

public:
generic <typename TIcon>
 override System::Object ^ CreateFloatingPanel(bool captionUsed, bool toolWindow, System::String ^ panelName, System::Object ^ app, TIcon icon, System::String ^ initializationXml, bool closeButton);
public override object CreateFloatingPanel<TIcon> (bool captionUsed, bool toolWindow, string panelName, object app, TIcon icon, string initializationXml, bool closeButton);
override this.CreateFloatingPanel : bool * bool * string * obj * 'Icon * string * bool -> obj
Public Overrides 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 application using caption, otherwise false.

toolWindow
Boolean

True if a tool caption is used, otherwise false.

panelName
String

Specifies the panel name.

app
Object

Specifies the application to connect to panel.

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 application has a close button, otherwise false.

Returns

A control reference to the panel.

Applies to