UWP - Rotating an Image while keeping it aligned to the grid, using XAML only
问题 Using Windows Template Studio, I created a (mostly auto-generated) sample UWP application, which shows a bunch of Images within a GridView. In order to rotate them, I've used the following xaml - note RenderTransform block which I've added, and the comments within that scope: <Grid x:Name="ContentArea"> <GridView x:Name="ImagesGridView" ItemsSource="{x:Bind Source}" IsItemClickEnabled="True" Padding="{StaticResource MediumLeftRightMargin}" SelectionMode="None"> <GridView.ItemTemplate>