| 
    << Click to Display Table of Contents >> NShape Reference
     | 
    
    
     ![]() ![]()  
     | 
  
Provides methods and properties for connecting an ILayerView user interface widget with a LayerController.
public class LayerPresenter : Component  | 
Name  | 
Description  | 
|---|---|
DiagramPresenter  | 
Provides access to an IDiagramPresenter displaying the diagram that contains the layers managed with this LayerPresenter's LayerController.  | 
LayerController  | 
Provides access to al LayerController managing the presented layers.  | 
LayerView  | 
Provides access to a user interface widget.  | 
ProductVersion  | 
The version of the component.  | 
Project  | 
Provides access to the LayerController's project.  | 
SelectedLayers  | 
Provides access to a list of layers selected in the user interface.  | 
Name  | 
Description  | 
|---|---|
LayerSelectionChanged  | 
Occurs when the selected layer(s) changes.  | 
Name  | 
Description  | 
|---|---|
ActivateSelectedLayers  | 
Set the selected layers as the IDiagramPresenter's active layers.  | 
BeginRenameSelectedLayer  | 
Indicates that the selected layer is being renamed.  | 
DeactivateSelectedLayers  | 
Removes the selected layers from the IDiagramPresenter's active layers.  | 
GetMenuItemDefs  | 
Returns a list of MenuItemDefs.  | 
HideSelectedLayers  | 
Notifies the IDiagramPresenter that shapes assigned to the selected layers should be invisible.  | 
OnSelectedLayersChanged  | 
Raises the LayerSelectionChanged event.  | 
ShowSelectedLayers  | 
Notifies the IDiagramPresenter that shapes assigned to the selected layers should be visible.  | 
Namespace: Dataweb.NShape.Controllers
Assembly: Dataweb.NShape