WpfDesktopApplicationUI.AddApplication Method
Adds a hosted application or any Windows Forms control to a panel.
Namespace: Microsoft.Uii.Desktop.UI.Controls.Wpf
Assembly: Microsoft.Uii.Desktop.UI.Controls.Wpf (in Microsoft.Uii.Desktop.UI.Controls.Wpf.dll)
Usage
'Usage
Dim instance As WpfDesktopApplicationUI
Dim panelName As String
Dim app As Object
Dim initializationXml As String
Dim closeButton As Boolean
Dim returnValue As Object
returnValue = instance.AddApplication(panelName, app, initializationXml, closeButton)
Syntax
'Declaration
Public Overrides Function AddApplication ( _
panelName As String, _
app As Object, _
initializationXml As String, _
closeButton As Boolean _
) As Object
public override Object AddApplication (
string panelName,
Object app,
string initializationXml,
bool closeButton
)
public:
virtual Object^ AddApplication (
String^ panelName,
Object^ app,
String^ initializationXml,
bool closeButton
) override
public Object AddApplication (
String panelName,
Object app,
String initializationXml,
boolean closeButton
)
public override function AddApplication (
panelName : String,
app : Object,
initializationXml : String,
closeButton : boolean
) : Object
Parameters
- panelName
Specifies the name of panel.
- app
Specifies the hosted application.
- initializationXml
Specifies the initialization XML.
- closeButton
True if the close button is present, otherwise false.
Return Value
Panel
Specifies the panel.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also
Reference
WpfDesktopApplicationUI Class
WpfDesktopApplicationUI Members
Microsoft.Uii.Desktop.UI.Controls.Wpf Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.