IDialogVisualizerService Interface
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

IDialogVisualizerService Interface

Namespace:  Microsoft.VisualStudio.DebuggerVisualizers
Assembly:  Microsoft.VisualStudio.DebuggerVisualizers (in Microsoft.VisualStudio.DebuggerVisualizers.dll)

public interface IDialogVisualizerService

IDialogVisualizerService provides methods that a visualizer can call to display System.Windows forms, dialogs, and controls.

public class DebuggerSide : DialogDebuggerVisualizer
{
   override protected void Show(IDialogVisualizerService windowService, IVisualizerObjectProvider objectProvider)
   {
      ColorDialog myDialog = new ColorDialog();
      windowService.ShowDialog(myDialog);
   }
// Other class methods ommitted for clarity.
}
Show:
© 2016 Microsoft