DialogDebuggerVisualizer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
All custom Debugger Visualizers must derive from this class to be called by VS.
public ref class DialogDebuggerVisualizer abstract
[Windows::Foundation::Metadata::WebHostHidden]
public ref class DialogDebuggerVisualizer abstract
[Windows::Foundation::Metadata::WebHostHidden]
class DialogDebuggerVisualizer abstract
public abstract class DialogDebuggerVisualizer
type DialogDebuggerVisualizer = class
Public MustInherit Class DialogDebuggerVisualizer
- Inheritance
-
DialogDebuggerVisualizer
Examples
public class Visualizer1 : DialogDebuggerVisualizer
{
protected override void Show(IDialogVisualizerService windowService, IVisualizerObjectProvider objectProvider)
{
// TODO: Get the object to display a visualizer for.
// Cast the result of objectProvider.GetObject()
// to the type of the object being visualized.
object data = (object)objectProvider.GetObject();
// TODO: Display your view of the object.
// Replace displayForm with your own custom Form or Control.
Form displayForm = new Form();
displayForm.Text = data.ToString();
windowService.ShowDialog(displayForm);
}
}
Remarks
This is the debugger-side class, which receives data from the object source through the object provider. This class is responsible for showing and managing the user interface and optional editing of data. Typically, you only need to override the Show() method to use this class.
Constructors
DialogDebuggerVisualizer() |
Methods
Show(IDialogVisualizerService, IVisualizerObjectProvider) |
Displays the visualizer. |