Class DebugOptionsWindow
- Namespace
- Myra.Graphics2D.UI
- Assembly
- Myra.dll
A window that provides options for debugging the UI framework.
public class DebugOptionsWindow : Window, IItemWithId, INotifyAttachedPropertyChanged, IContent
- Inheritance
-
DebugOptionsWindow
- Implements
- Inherited Members
Constructors
DebugOptionsWindow()
Initializes a new instance of the DebugOptionsWindow class.
public DebugOptionsWindow()
Properties
ShowDebugInfo
Gets or sets a value indicating whether debug information should be displayed.
public bool ShowDebugInfo { get; set; }
Property Value
Methods
AddOption(string, Action, Action)
Adds a debug option with callbacks for when it's enabled or disabled.
public void AddOption(string text, Action onEnabled, Action onDisabled)