Compartir a través de


AifWpfTabControl Class

Definition

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

public ref class AifWpfTabControl : Microsoft::Practices::CompositeUI::Windows::Workspaces::TabWorkspace
public class AifWpfTabControl : Microsoft.Practices.CompositeUI.Windows.Workspaces.TabWorkspace
type AifWpfTabControl = class
    inherit TabWorkspace
Public Class AifWpfTabControl
Inherits TabWorkspace
Inheritance
AifWpfTabControl

Constructors

AifWpfTabControl()

Initializes a new instance of the AifWpfTabControl class.

Properties

ActiveSmartPart (Inherited from TabWorkspace)
AifTabItems

Gets the collection of TabItems that the CcfTabControl uses

Count

Gets the number of applications shown on the control.

HostedApplications

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

SmartParts (Inherited from TabWorkspace)
TabItems (Inherited from TabWorkspace)
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 tab page.

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

Determines whether the application can be closed via the UI

OnActivate(UIElement) (Inherited from TabWorkspace)
OnApplySmartPartInfo(UIElement, TabSmartPartInfo) (Inherited from TabWorkspace)
OnClose(UIElement) (Inherited from TabWorkspace)
OnHide(UIElement) (Inherited from TabWorkspace)
OnItemsChanged(NotifyCollectionChangedEventArgs) (Inherited from TabWorkspace)
OnRender(DrawingContext)

Adds a close button to closable apps

OnSelectionChanged(SelectionChangedEventArgs) (Inherited from TabWorkspace)
OnShow(UIElement, TabSmartPartInfo) (Inherited from TabWorkspace)
OnSmartPartActivated(WorkspaceEventArgs) (Inherited from TabWorkspace)
OnSmartPartActivating(WorkspaceCancelEventArgs) (Inherited from TabWorkspace)
OnSmartPartClosing(WorkspaceCancelEventArgs)

Handler to remove the smart part from collections.

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 user clicks the close button on the tab item.

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

Explicit Interface Implementations

IComposableWorkspace<UIElement,TabSmartPartInfo>.RaiseSmartPartActivated(WorkspaceEventArgs) (Inherited from TabWorkspace)
IComposableWorkspace<UIElement,TabSmartPartInfo>.RaiseSmartPartClosing(WorkspaceCancelEventArgs) (Inherited from TabWorkspace)

Applies to