Compartir a través de


AifTabControl Class

Definition

Important

This API is not CLS-compliant.

Represents a control that shows hosted application in a tab form.

public ref class AifTabControl : Microsoft::Practices::CompositeUI::WinForms::TabWorkspace
[System.CLSCompliant(false)]
public class AifTabControl : Microsoft.Practices.CompositeUI.WinForms.TabWorkspace
[<System.CLSCompliant(false)>]
type AifTabControl = class
    inherit TabWorkspace
Public Class AifTabControl
Inherits TabWorkspace
Inheritance
AifTabControl
Attributes

Constructors

AifTabControl()

Initializes a new instance of the AifTabControl class.

Properties

ActiveSmartPart (Inherited from TabWorkspace)
AifTabPages

Gets the collection of TabPages that the TabControl uses. The "Tag" value of each TabPage contains the hosted application itself and is used to get the hosted application when we know the TabPage.

Count

Gets the number of applications shown on the control.

HostedApplications

Gets the collection of hosted applications currently contained in the control.

Pages
Obsolete.

Obsolete method. Not to be used.

SmartParts (Inherited from TabWorkspace)
TabPages
Obsolete.

Obsolete method. Not to be used

WorkItem (Inherited from TabWorkspace)

Methods

Activate(Object) (Inherited from TabWorkspace)
ApplySmartPartInfo(Object, ISmartPartInfo) (Inherited from TabWorkspace)
Close(Object) (Inherited from TabWorkspace)
ConvertFrom(ISmartPartInfo) (Inherited from TabWorkspace)
GetTabPage(Object)

Gets a specific TabPage identify by the control it contains.

Hide(Object) (Inherited from TabWorkspace)
IsClosableApplication(Object)

Determines whether the application can be closed via the UI.

OnActivate(Control) (Inherited from TabWorkspace)
OnApplySmartPartInfo(Control, TabSmartPartInfo) (Inherited from TabWorkspace)
OnClose(Control)

Handler to remove the smartPart from collections.

OnCreateControl() (Inherited from TabWorkspace)
OnDrawItem(DrawItemEventArgs)

Draws an x on the tab

OnHide(Control) (Inherited from TabWorkspace)
OnMouseClick(MouseEventArgs)

Handler when clicking close on tab page

OnSelectedIndexChanged(EventArgs) (Inherited from TabWorkspace)
OnShow(Control, TabSmartPartInfo) (Inherited from TabWorkspace)
OnSmartPartActivated(WorkspaceEventArgs) (Inherited from TabWorkspace)
OnSmartPartClosing(WorkspaceCancelEventArgs) (Inherited from TabWorkspace)
RemoveApplication(Object)

Removes the application and its tab.

Show(Object) (Inherited from TabWorkspace)
Show(Object, ISmartPartInfo) (Inherited from TabWorkspace)
ShowApplication(Object, Boolean)

Shows the hosted application in a new tab.

ShowApplication(Object, String, Image, Boolean)

Shows the hosted application in a new tab.

Events

CloseAppClick

Fired when the user clicks on the close button on the tab page.

SmartPartActivated (Inherited from TabWorkspace)
SmartPartClosing (Inherited from TabWorkspace)

Explicit Interface Implementations

IComposableWorkspace<Control,TabSmartPartInfo>.ConvertFrom(ISmartPartInfo) (Inherited from TabWorkspace)
IComposableWorkspace<Control,TabSmartPartInfo>.OnActivate(Control) (Inherited from TabWorkspace)
IComposableWorkspace<Control,TabSmartPartInfo>.OnApplySmartPartInfo(Control, TabSmartPartInfo) (Inherited from TabWorkspace)
IComposableWorkspace<Control,TabSmartPartInfo>.OnClose(Control) (Inherited from TabWorkspace)
IComposableWorkspace<Control,TabSmartPartInfo>.OnHide(Control) (Inherited from TabWorkspace)
IComposableWorkspace<Control,TabSmartPartInfo>.OnShow(Control, TabSmartPartInfo) (Inherited from TabWorkspace)
IComposableWorkspace<Control,TabSmartPartInfo>.RaiseSmartPartActivated(WorkspaceEventArgs) (Inherited from TabWorkspace)
IComposableWorkspace<Control,TabSmartPartInfo>.RaiseSmartPartClosing(WorkspaceCancelEventArgs) (Inherited from TabWorkspace)

Applies to