Compartir a través de


DesktopApplicationUIBase.CreateFloatingPanel Method

Creates a new floating WpfPanel for hosting controls or applications.

Namespace: Microsoft.Uii.Desktop.UI.Controls
Assembly: Microsoft.Uii.Desktop.UI.Controls (in Microsoft.Uii.Desktop.UI.Controls.dll)

Usage

'Usage
Dim instance As DesktopApplicationUIBase
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 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
public abstract 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
) abstract

GenericParameters

  • TIcon

Parameters

  • captionUsed
    True if caption is used, otherwise false.
  • toolWindow
    True if the tool window is used, otherwise false.
  • panelName
    Specifies the panel name.
  • app
    Specifies the application.
  • 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 the close button is present, 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

DesktopApplicationUIBase Class
DesktopApplicationUIBase Members
Microsoft.Uii.Desktop.UI.Controls Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.