Last active
July 27, 2020 11:27
-
-
Save haavamoa/d9fbdddab034f72a6b9d7cab4487ffb9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ContentPage x:Class="DIPS.Xamarin.UI.Samples.Controls.Sheet.SheetPage" | |
xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:d="http://xamarin.com/schemas/2014/forms/design" | |
xmlns:dxui="http://dips.xamarin.ui.com" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
mc:Ignorable="d"> | |
<dxui:ModalityLayout> | |
<dxui:ModalityLayout.Behaviors> | |
<dxui:SheetBehavior Title="Awesome Sheet" | |
IsDraggable="True" | |
IsOpen="{Binding Source={x:Reference OpenSheetCheckBox}, Path=IsChecked}"> | |
<!-- Sheet content goes here --> | |
<Image Margin="10" | |
HeightRequest="80" | |
Source="https://seeklogo.com/images/X/xamarin-logo-348B1EB629-seeklogo.com.png" /> | |
</dxui:SheetBehavior> | |
</dxui:ModalityLayout.Behaviors> | |
<CheckBox x:Name="OpenSheetCheckBox" | |
HorizontalOptions="Center" | |
VerticalOptions="Center" /> | |
</dxui:ModalityLayout> | |
</ContentPage> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment