Compartir a través de


WpfDesktopApplicationUI.CreateFloatingPanel Method

Creates a new floating pfPanel for hosting controls or applications.

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 captionUsed As Boolean
Dim toolWindow As Boolean
Dim panelName As String
Dim app As Object
Dim icon As TIcon
Dim initializationXml As String
Dim closeButton As Boolean
Dim returnValue As Object

returnValue = instance.CreateFloatingPanel(captionUsed, toolWindow, panelName, app, icon, initializationXml, closeButton)

Syntax

'Declaration
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
public override Object CreateFloatingPanel<TIcon> (
    bool captionUsed,
    bool toolWindow,
    string panelName,
    Object app,
    TIcon icon,
    string initializationXml,
    bool closeButton
)
public:
generic<typename TIcon>
virtual Object^ CreateFloatingPanel (
    bool captionUsed, 
    bool toolWindow, 
    String^ panelName, 
    Object^ app, 
    TIcon icon, 
    String^ initializationXml, 
    bool closeButton
) override

GenericParameters

  • TIcon

Parameters

  • captionUsed
    True if application using caption, otherwise false.
  • toolWindow
    True if a tool caption is used, otherwise false.
  • panelName
    Specifies the panel name.
  • app
    Specifies the application to connect to panel.
  • icon
    Specifies the icon for the panel. If the app implements IHostedApplication2 or above the icon is pulled from the application.
  • initializationXml
    Specifies the initialization XML.
  • closeButton
    True if application has a close button, otherwise false.

Return Value

A control reference to 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.