Page 1 of 1

UWP: Zeigen Sie die volle Bildgröße an

Posted: 10 Apr 2025, 13:14
by Anonymous
Ich habe ein Problem in meiner UWP -App, in dem ich versuche, ein Bild in einem ContentDialog anzuzeigen. Das Bild wird jedoch innerhalb des Dialogs beschnitten, und ich möchte, dass es ohne Ausschnitt angezeigt wird. Below is my current XAML code for the Image control within the ContentDialog
and this is what I get
Image

and this what i want to be displayed in the dialog

Ich habe versucht, die Dehnungseigenschaft an 'Uniform' anzupassen und Horizontalignment = "Stretch" und Vertalalignment = "The -the -the -the -the -the -the -the -the -the -the -the -the -the -the -the -the -the -the -the -the -the -the -the -the -the - Wie kann ich das XAML ändern, um sicherzustellen, dass das Bild ohne Anbaus oder Ausschneiden angezeigt wird