Share via


WpfDesktopApplicationUI.AddApplication Method

Definition

Adds a hosted application or any Windows Forms control to a panel.

public:
 override System::Object ^ AddApplication(System::String ^ panelName, System::Object ^ app, System::String ^ initializationXml, bool closeButton);
public override object AddApplication (string panelName, object app, string initializationXml, bool closeButton);
override this.AddApplication : string * obj * string * bool -> obj
Public Overrides Function AddApplication (panelName As String, app As Object, initializationXml As String, closeButton As Boolean) As Object

Parameters

panelName
String

Specifies the name of panel.

app
Object

Specifies the hosted application.

initializationXml
String

Specifies the initialization XML.

closeButton
Boolean

True if the close button is present, otherwise false.

Returns

Panel

Specifies the panel.

Applies to