using System;
using Avalonia.Input;
namespace Avalonia.Diagnostics
{
///
/// Describes options used to customize DevTools.
///
public class DevToolsOptions
{
///
/// Gets or sets the key gesture used to open DevTools.
///
public KeyGesture Gesture { get; set; } = new KeyGesture(Key.F12);
///
/// Gets or sets a value indicating whether DevTools should be displayed as a child window
/// of the window being inspected. The default value is true.
///
/// This setting is ignored if DevTools is attached to
public bool ShowAsChildWindow { get; set; } = true;
///
/// Gets or sets the initial size of the DevTools window. The default value is 1280x720.
///
public Size Size { get; set; } = new Size(1280, 720);
///
/// Get or set the startup screen index where the DevTools window will be displayed.
///
public int? StartupScreenIndex { get; set; }
///
/// Gets or sets a value indicating whether DevTools should be displayed implemented interfaces on Control details. The default value is true.
///
public bool ShowImplementedInterfaces { get; set; } = true;
///
/// Allow to customize SreenshotHandler
///
/// Default handler is
public IScreenshotHandler ScreenshotHandler { get; set; }
= Conventions.DefaultScreenshotHandler;
///
/// Gets or sets whether DevTools should use the dark mode theme
///
public bool UseDarkMode { get; set; }
}
}