Del via


AifWpfTabControl.ShowApplication Method (Object, String, Image, Boolean)

Shows the hosted application in a new tab.

Namespace: Microsoft.Uii.Csr
Assembly: Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)

Usage

'Usage
Dim instance As AifWpfTabControl
Dim application As Object
Dim text As String
Dim icon As Image
Dim closeButton As Boolean
Dim returnValue As TabItem

returnValue = instance.ShowApplication(application, text, icon, closeButton)

Syntax

'Declaration
Public Function ShowApplication ( _
    application As Object, _
    text As String, _
    icon As Image, _
    closeButton As Boolean _
) As TabItem
public TabItem ShowApplication (
    Object application,
    string text,
    Image icon,
    bool closeButton
)
public:
TabItem^ ShowApplication (
    Object^ application, 
    String^ text, 
    Image^ icon, 
    bool closeButton
)
public TabItem ShowApplication (
    Object application, 
    String text, 
    Image icon, 
    boolean closeButton
)
public function ShowApplication (
    application : Object, 
    text : String, 
    icon : Image, 
    closeButton : boolean
) : TabItem

Parameters

  • application
    Specifies the control or hosted app to be shown
  • text
    Specifies the text for the tab
  • icon
    Specifies the image icon for the tab
  • closeButton
    True to provide a close button to close dynamic application, false otherwise.

Return Value

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.

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

AifWpfTabControl Class
AifWpfTabControl Members
Microsoft.Uii.Csr Namespace

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