DesktopApplicationUIBase.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 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)
Syntax
public abstract object CreateFloatingPanel<TIcon>(
bool captionUsed,
bool toolWindow,
string panelName,
object app,
TIcon icon,
string initializationXml,
bool closeButton
)
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
Parameters
captionUsed
Type: System.BooleanTrue if caption is used, otherwise false.
toolWindow
Type: System.BooleanTrue if the tool window is used, otherwise false.
panelName
Type: System.StringSpecifies the panel name.
app
Type: System.ObjectSpecifies the application.
icon
Type: TIconSpecifies the icon for the panel. If the app implements IHostedApplication2 or above the icon is pulled from the application.
initializationXml
Type: System.StringSpecifies the initialization XML.
closeButton
Type: System.BooleanTrue if the close button is present, otherwise false.
Return Value
Type: System.Object
A control reference to the panel.
Type Parameters
- TIcon
See Also
DesktopApplicationUIBase Class
Microsoft.Uii.Desktop.UI.Controls Namespace
Return to top
Unified Service Desk 2.0
© 2017 Microsoft. All rights reserved. Copyright