Click here to Skip to main content
16,015,594 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone,

I am using MVVMCross to develop a WPF application. I created multiple views and some are Modal ( with the tag MvxWindowPresentation, Modal =true). However I did not find the way to control the layout of the page where this view is loaded. Do you know the proper way to control it?

Thanks for your time

PS : VS2015 / MVVMCRoss 8.2 / .NET Framework 4.6

What I have tried:

I tried to create SecondWindow and named it at two different locations
into the Tag
[MvxWindowPresentation(Identifier = nameof(SecondWindow), Modal = true)]

and as well by implementing into the MvxWpfView the interface
IMvxOverridePresentationAttribute
. But no success
Posted
Updated 28-Oct-22 10:30am

1 solution

For MvvmCross support, this is their recommendations: Support | MvvmCross[^]

I do not use MvvmCross, however, WPF has a Title property on the Window class.

A quick peek at their sample documentation, the views:MvxWindow also has a Title property. Ref: TipCalc WPF Project | MvvmCross Documentation[^]
 
Share this answer
 
v2
Comments
laurent2k6 2-Nov-22 13:08pm    
Thanks for your response, The TipCal example does show the solution. I will contact them by using the link you gave me thanks a lot
Graeme_Grant 2-Nov-22 16:29pm    
You are welcome. Please mark the solution as answered so that others who see it will know.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900