Workspace Members

Default base implementation of the IWorkspace interface.

The following tables list the members exposed by the Workspace generic type.

Protected Constructors

  Name Description
Protected method Workspace  

Top

Public Properties

(see also Protected Properties )

  Name Description
Public property ActiveSmartPart The active smart part in the Workspace, or null (Nothing in VB.NET).
Public property SmartParts The collection of smart parts contained in the workspace.
Public property WorkItem Dependency injection setter property to get the WorkItem where the object is contained.

Top

Protected Properties

  Name Description
Protected property InnerSmartParts The list of smart parts shown in the workspace.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Activate Activates the smartPart on the workspace.
Public method ApplySmartPartInfo Applies the smartPartInfo to the smartPart.
Public method Close Closes the smart part and resets (sets to null) the ActiveSmartPart.
Public method Equals  Overloaded. (Inherited from Object.)
Public method GetHashCode  (Inherited from Object.)
Public method GetType  (Inherited from Object.)
Public method Hide Hides the smart part and resets (sets to null) the ActiveSmartPart.
Public method Static ReferenceEquals  (Inherited from Object.)
Public method Show Overloaded.  
Public method ToString  (Inherited from Object.)

Top

Protected Methods

  Name Description
Protected method CloseInternal Closes the smart part without raising the SmartPartClosing event.
Protected method ConvertFrom By default uses the conversion implemented in ConvertTo. A derived class can implement a different conversion scheme.
Protected method CreateDefaultSmartPartInfo Creates an instance of the TSmartPartInfo to use to show the SmartPart when no information has been provided. By default creates a new instance of the TSmartPartInfo.
Protected method Finalize  (Inherited from Object.)
Protected method MemberwiseClone  (Inherited from Object.)
Protected method OnActivate When overridden in a derived class, activates the smartPart on the workspace.
Protected method OnApplySmartPartInfo When overridden in a derived class, applies the smartPartInfo to the smartPart that lives in the workspace.
Protected method OnClose When overridden in a derived class, closes and removes the smartPart from the workspace.
Protected method OnHide When overridden in a derived class, hides the smartPart on the workspace.
Protected method OnShow When overridden in a derived class, shows the smartPart on the workspace.
Protected method RaiseSmartPartActivated Raises the SmartPartActivated event.
Protected method RaiseSmartPartClosing Overloaded.  
Protected method SetActiveSmartPart Allows a derived class to set the Active SmartPart in the Workspace

Top

Public Events

  Name Description
Public event SmartPartActivated See SmartPartActivated.
Public event SmartPartClosing See SmartPartClosing.

Top

See Also

Reference

Workspace Class
Microsoft.Practices.CompositeUI.SmartParts Namespace