AifWpfTabControl.ShowApplication Method (Object, String, Image, Boolean)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
Shows the hosted application in a new tab.
Namespace: Microsoft.Uii.Csr
Assembly: Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)
Syntax
public TabItem ShowApplication(
object application,
string text,
Image icon,
bool closeButton
)
Public Function ShowApplication (
application As Object,
text As String,
icon As Image,
closeButton As Boolean
) As TabItem
Parameters
application
Type: System.ObjectSpecifies the control or hosted app to be shown
text
Type: System.StringSpecifies the text for the tab
icon
Type: System.Windows.Controls.ImageSpecifies the image icon for the tab
closeButton
Type: System.BooleanTrue to provide a close button to close dynamic application, false otherwise.
Return Value
Type: System.Windows.Controls.TabItem
TabItem
Remarks
The tag of the TabItem will be set with the hosted application and can be used to find the application when we know the tabItem.
See Also
ShowApplication Overload
AifWpfTabControl Class
Microsoft.Uii.Csr Namespace
Return to top
Unified Service Desk 2.0
© 2017 Microsoft. All rights reserved. Copyright