Share via


WpfDesktopApplicationUI.CreateFloatingPanel<TIcon> Method (Boolean, Boolean, String, Object, TIcon, String, Boolean)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

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)

Syntax

public override object CreateFloatingPanel<TIcon>(
    bool captionUsed,
    bool toolWindow,
    string panelName,
    object app,
    TIcon icon,
    string initializationXml,
    bool closeButton
)
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

Parameters

  • captionUsed
    Type: System.Boolean

    True if application using caption, otherwise false.

  • toolWindow
    Type: System.Boolean

    True if a tool caption is used, otherwise false.

  • app
    Type: System.Object

    Specifies the application to connect to panel.

  • icon
    Type: TIcon

    Specifies the icon for the panel. If the app implements IHostedApplication2 or above the icon is pulled from the application.

  • initializationXml
    Type: System.String

    Specifies the initialization XML.

  • closeButton
    Type: System.Boolean

    True if application has a close button, otherwise false.

Return Value

Type: System.Object

A control reference to the panel.

Type Parameters

  • TIcon

See Also

CreateFloatingPanel Overload
WpfDesktopApplicationUI Class
Microsoft.Uii.Desktop.UI.Controls.Wpf Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright