Skip to content

Custom Window for dialogs #94

Closed Answered by ByteSquire
cirrusone asked this question in Q&A
Discussion options

You must be logged in to vote

You need to register a DialogWindow using the RegisterDialogWindow method like this:
containerRegistry.RegisterDialogWindow<CustomMainWindow>();
, or provide a name if you don't want to override the default dialog window.
Make sure your window implements IDialogWindow like this:
class CustomMainWindow : Window, IDialogWindow
Btw, take a look at this Style definition if you want to have a consistent look for your application's windows.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by cirrusone
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Questions and Answers
2 participants
Converted from issue

This discussion was converted from issue #93 on August 15, 2023 12:44.