I displayed the dialog box as described in the document, but it did not show up #295
-
document: suki:SukiWindow My code is as follows using Avalonia.Collections; namespace LDCrossPlat.ViewModels
} My view is as follows
When I click the Open button, no action is taken ,What is the reason for this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
<!-- XMLNS definitions omitted for brevity -->
<suki:SukiWindow>
<suki:SukiWindow.Hosts>
<suki:SukiDialogHost Manager="{Binding DialogManager}"/>
</suki:SukiWindow.Hosts>
<suki:SukiWindow> This code should be defined in the SukiWindow and not in any other Views. |
Beta Was this translation helpful? Give feedback.
I can define it in MainWindow, but I saw in the document that it is possible to define its use in View. What is the reason for this