Class DialogHandlerBase
- Namespace
- DotNetBrowser.AvaloniaUi.Dialogs
- Assembly
- DotNetBrowser.AvaloniaUi.dll
The base class for all dialog handlers.
public class DialogHandlerBase
- Inheritance
-
DialogHandlerBase
- Derived
- Inherited Members
Constructors
- DialogHandlerBase(Visual)
Creates and initializes the dialog handler.
Properties
- Parent
The parent object for the dialog displayed by this handler. This object is used to locate the owner window for the modal dialogs.
Methods
- FocusParent()
Tells the parent that it should request focus.
- GetStorageProvider()
Gets the Avalonia.Platform.Storage.IStorageProvider that provides the file picker API.
- UnfocusFocusBrowser(IBrowser)
Tells the Browser instance to unfocus and focus. This method is used as a workaround because the default implementation of unfocus and focus functionality (in the WindowedView class) does not give an expected keyboard focus result.