DevToolsExtensionsAttachDevTools(TopLevel, KeyGesture) Method
Attaches DevTools to a window, to be opened with the specified key gesture.
Namespace: AvaloniaAssembly: Avalonia.Diagnostics (in Avalonia.Diagnostics.dll) Version: 11.3.999
public static void AttachDevTools(
this TopLevel root,
KeyGesture gesture
)
<ExtensionAttribute>
Public Shared Sub AttachDevTools (
root As TopLevel,
gesture As KeyGesture
)
[<ExtensionAttribute>]
static member AttachDevTools :
root : TopLevel *
gesture : KeyGesture -> unit
- root TopLevel
- The window to attach DevTools to.
- gesture KeyGesture
- The key gesture to open DevTools.
In Visual Basic and C#, you can call this method as an instance method on any object of type
TopLevel. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).