Jump to: navigation, search

Changes


XAML Tips

643 bytes removed, 11:21, 14 June 2023
/* Fit mode */
=== Fit mode ===
If you are using the standard app without XAML customizings, the [[UBIK_WinX_Client_Basics#Fit_Mode|fit mode]] feature should work out of the box.
However, when using a FlipView for displaying documents in your customized XAMLs, you must make sure to include the following binding to the FlipView's ItemTemplate so that the fit modes are properly applied.
<source lang = "xml"><DataTemplate[[Category:Client|XAML Tips]] ... xmlns[[Category:hs="using:UBIK.WinX.HotSpotting.Document">|XAML Tips]] ... <Grid.Resources> ... <DataTemplate x[[Category:Key="FlipDocItemTemplate">XAML|XAML Tips]] ... <hs[[Category:Document ... FitMode="{Binding DocumentViewModel.FitMode}" /> </DataTemplate> </Grid.Resources></DataTemplate></source>Xamarin|XAML Tips]]
=== Content creation ===
415
edits