C4.02 Prism dialog height. (Xamarin) - chempkovsky/CS2WPF-and-CS2XAMARIN GitHub Wiki
By default any generated "EdlgUserControl" has 'prism:DialogLayout.RelativeHeightRequest="0.99"'
- As a result, the dialogue will take up extra space.
- Please, compare without 'prism:DialogLayout.RelativeHeightRequest="0.99"' - line.
Why this line is inserted in the generated code?
- Open the dialog without 'prism:DialogLayout.RelativeHeightRequest="0.99"'-line for the Book.
- no scrollers are available!!!
- Here is the same dialog with 'prism:DialogLayout.RelativeHeightRequest="0.99"' - line.
How to change the generator script.
- goto "%appdata%"-folder
- then goto "Local\Microsoft\VisualStudio\XXXX\Extensions\YYYY\Templates\WpfScriptsTmplst\01518-EdlgUserControl.xaml"
- "XXXX" and "YYYY" on each computer will be different
- modify "EdlgUserControl.Xamarin.xaml.t4"-file (or add a file with a different name)
- Here is how to change the script: