This document is archived and information here might be outdated.  Recommended version.


NAWindow Class (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalystUI > ESRI.ArcGIS.NetworkAnalystUI > Classes > N > NAWindow Class
ArcGIS Developer Help

NAWindowClass Class

The network analysis window.

Product Availability

Available with ArcGIS Desktop. Requires Network Analyst Extension.

Interfaces

Interfaces Description
IAcceleratorHook (esriFramework) Provides access to a means to decide if a virtual key should act as an accelerator.
IActiveViewEvents (esriCarto) Provides access to events that occur when the state of the active view changes.
IConnectionPointContainer (esriDisplay)
IDocumentEvents (esriArcMapUI) Provides access to events that occur in ArcMap.
INAContextEvents (esriNetworkAnalyst) Provides access to events triggered by the network analysis context.
INAContextEvents2 (esriNetworkAnalyst) Provides access to events triggered by the network analysis context.
INALayerEvents (esriNetworkAnalyst) Provides access to events triggered by the network analysis layer.
INAWindow Provides access to the network analysis window.
INAWindow2 Provides access to the network analysis window.
INAWindowEvents Provides access to events triggered by the network analysis window.
IObjectClassEvents (esriGeoDatabase) Provides access to events that occur with an object class.
IPersistStream (esriSystem)
ISelectionEvents (esriCarto) Provides access to events that occur when the selection changes.
IWorkspaceEditEvents (esriGeoDatabase) Provides access to events that occur to a workspace in the context of editing it.

Remarks

The NAWindow is a dockable window in ArcMap that helps users manage the NALayers containing the problem definition and NAClasses of NALocationObjects/NALocationFeatures

[C#]

This code shows how to get the NAWindow from the Network Analyst extension.

public INAWindow GetNAWindow(IApplication app)
{
  INetworkAnalystExtension networkAnalystExtension = app.FindExtensionByName("Network Analyst") as INetworkAnalystExtension;
  return networkAnalystExtension.NAWindow;
}
[Visual Basic .NET]

This code shows how to get the NAWindow from the Network Analyst extension.

Public Function GetNAWindow(ByVal app As IApplication) As INAWindow
  Dim networkAnalystExtension As INetworkAnalystExtension = app.FindExtensionByName("Network Analyst")
  Return networkAnalystExtension.NAWindow
End Function