Skip to content

Instantly share code, notes, and snippets.

@haavamoa
Last active July 27, 2020 11:26
Show Gist options
  • Save haavamoa/4a450811a207627f68404b9bcd23f0c5 to your computer and use it in GitHub Desktop.
Save haavamoa/4a450811a207627f68404b9bcd23f0c5 to your computer and use it in GitHub Desktop.
<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 IsOpen="{Binding Source={x:Reference OpenSheetCheckBox}, Path=IsChecked}">
<!-- Sheet content goes here -->
</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