Click or drag to resize

INavigationService Interface

Provides ways to show windows, user controls, dialogs and more.

Namespace:  SniffCore.Navigation
Assembly:  SniffCore.Navigation (in SniffCore.Navigation.dll) Version: 1.6.0
Syntax
C#
public interface INavigationService

The INavigationService type exposes the following members.

Methods
  NameDescription
Public methodClose
Closes the open window known by its key. If the window was modal, the DialogResult will be null.
Public methodSetDialogResult
Sets the dialog result of the open modal window by its key. That does not work for non modal windows.
Public methodShowControlAsync
Shows a new user control by its control key into the NavigationPresenter known by its id.
Public methodShowDialog(IBrowseFolderData)
Shows the browse folder dialog.
Public methodShowDialog(IColorPickerData)
Shows the color picker dialog.
Public methodShowDialog(IFontPickerData)
Shows the font picker dialog.
Public methodShowDialog(IOpenFileData)
Shows the open file dialog.
Public methodShowDialog(ISaveFileData)
Shows the save file dialog.
Public methodShowDialog(Object, IBrowseFolderData)
Shows the browse folder dialog.
Public methodShowDialog(Object, IColorPickerData)
Shows the color picker dialog.
Public methodShowDialog(Object, IFontPickerData)
Shows the font picker dialog.
Public methodShowDialog(Object, IOpenFileData)
Shows the open file dialog.
Public methodShowDialog(Object, ISaveFileData)
Shows the save file dialog.
Public methodShowMessageBox(String)
Shows the message box.
Public methodShowMessageBox(Object, String)
Shows the message box.
Public methodShowMessageBox(String, String)
Shows the message box.
Public methodShowMessageBox(Object, String, String)
Shows the message box.
Public methodShowMessageBox(String, String, MessageBoxButton)
Shows the message box.
Public methodShowMessageBox(Object, String, String, MessageBoxButton)
Shows the message box.
Public methodShowMessageBox(String, String, MessageBoxButton, IMessageBoxOptions)
Shows the message box.
Public methodShowMessageBox(Object, String, String, MessageBoxButton, IMessageBoxOptions)
Shows the message box.
Public methodShowModalWindowAsync(Object, Object)
Shows a modal window.
Public methodShowModalWindowAsync(Object, Object, Object)
Shows a modal window.
Public methodShowWindowAsync(Object, Object)
Shows a non modal window.
Public methodShowWindowAsync(Object, Object, Object)
Shows a non modal window.
Top
See Also