Materialdesigninxamltoolkit: Would it be possible to have DrawerHost.CenterDrawerContent ?

Created on 14 Jun 2020  路  4Comments  路  Source: MaterialDesignInXAML/MaterialDesignInXamlToolkit

Actually it's possible to have for DrawerHost with Right, Left, Top, Bottom, content properties.
Would it be possible to have DrawerHost.CenterDrawerContent ?
Indeed, I'd like to make a Wizard using materialDesign:Transitioner into a DrawerHost centered.
Is it possible to do it or should I use the materialDesign:DialogHost to achieve it ?
Regards

question

Most helpful comment

@gitjsdr26 Wouldn't you want to have a DialogHost hosting the wizard, and then withing the Dialog have a second dialog host for any dialogs that the wizard needs to display?

All 4 comments

I believe the DialogHost is the correct tool for this job, specifically using the MaterialDesignEmbeddedDialogHost style since this will make the dialog part of the visual tree (like what the DrawerHost does).

@Keboo , thank you. This question is linked to the previous one #1924 , because I'd like to make a Wizard but this Wizard will have to popup Dialogboxes. So to do it, I'd have used a DrawerHost nested with a DialogHost but DrawerHost could not be centered :-(

@gitjsdr26 Wouldn't you want to have a DialogHost hosting the wizard, and then withing the Dialog have a second dialog host for any dialogs that the wizard needs to display?

@Keboo , yes you are right, but i didn't think that it was possible. Thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zirius666 picture zirius666  路  12Comments

oSethoum picture oSethoum  路  10Comments

greuelpirat picture greuelpirat  路  12Comments

ttweixiao9999 picture ttweixiao9999  路  14Comments

wongjiahau picture wongjiahau  路  17Comments