Workspace.OnShow Method

When overridden in a derived class, shows the smartPart on the workspace.

Namespace: Microsoft.Practices.CompositeUI.SmartParts
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)

Syntax

'Declaration
Protected MustOverride Sub OnShow ( _
    smartPart As TSmartPart, _
    smartPartInfo As TSmartPartInfo _
)
'Usage
Dim smartPart As TSmartPart
Dim smartPartInfo As TSmartPartInfo

Me.OnShow(smartPart, smartPartInfo)
protected abstract void OnShow (
    TSmartPart smartPart,
    TSmartPartInfo smartPartInfo
)
protected:
virtual void OnShow (
    TSmartPart smartPart, 
    TSmartPartInfo smartPartInfo
) abstract
protected abstract void OnShow (
    TSmartPart smartPart, 
    TSmartPartInfo smartPartInfo
)
protected abstract function OnShow (
    smartPart : TSmartPart, 
    smartPartInfo : TSmartPartInfo
)

Parameters

  • smartPart
    The smart part to show.
  • smartPartInfo
    The information to apply to the smart part.

See Also

Reference

Workspace Class
Workspace Members
Microsoft.Practices.CompositeUI.SmartParts Namespace