Share via


AifTabControl.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 AifTabControl
Dim application As Object
Dim text As String
Dim icon As Image
Dim closeButton As Boolean
Dim returnValue As TabPage

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 TabPage
public TabPage ShowApplication (
    Object application,
    string text,
    Image icon,
    bool closeButton
)
public:
TabPage^ ShowApplication (
    Object^ application, 
    String^ text, 
    Image^ icon, 
    bool closeButton
)
public TabPage ShowApplication (
    Object application, 
    String text, 
    Image icon, 
    boolean closeButton
)
public function ShowApplication (
    application : Object, 
    text : String, 
    icon : Image, 
    closeButton : boolean
) : TabPage

Parameters

  • application
    Specifies the control or hosted application 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

TabPage

Remarks

The tag of the TabPage will be set with the hosted application and can be used to find the application when we know the tabPage.

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

AifTabControl Class
AifTabControl Members
Microsoft.Uii.Csr Namespace

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