Compartilhar via


IDialogVisualizerService Interface

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

Syntax

'Declaration
Public Interface IDialogVisualizerService
public interface IDialogVisualizerService
public interface class IDialogVisualizerService
type IDialogVisualizerService =  interface end
public interface IDialogVisualizerService

Methods

  Name Description
Public method ShowDialog(CommonDialog)
Public method ShowDialog(Control)
Public method ShowDialog(Form)

Top

Remarks

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

Examples

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.
}

See Also

Reference

Microsoft.VisualStudio.DebuggerVisualizers Namespace