Skip to content

Instantly share code, notes, and snippets.

@haavamoa
Last active July 27, 2020 11:26

Revisions

  1. haavamoa revised this gist Jul 27, 2020. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion Blog2-3.xaml
    Original file line number Diff line number Diff line change
    @@ -7,7 +7,9 @@
    mc:Ignorable="d">
    <dxui:ModalityLayout>
    <dxui:ModalityLayout.Behaviors>
    <dxui:SheetBehavior IsOpen="{Binding Source={x:Reference OpenSheetCheckBox}, Path=IsChecked}" />
    <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"
  2. haavamoa revised this gist Jul 27, 2020. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions Blog2-3.xaml
    Original file line number Diff line number Diff line change
    @@ -10,7 +10,7 @@
    <dxui:SheetBehavior IsOpen="{Binding Source={x:Reference OpenSheetCheckBox}, Path=IsChecked}" />
    </dxui:ModalityLayout.Behaviors>
    <CheckBox x:Name="OpenSheetCheckBox"
    HorizontalOptions="Center"
    VerticalOptions="Center" />
    HorizontalOptions="Center"
    VerticalOptions="Center" />
    </dxui:ModalityLayout>
    </ContentPage>
  3. haavamoa created this gist Jul 26, 2020.
    16 changes: 16 additions & 0 deletions Blog2-3.xaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    <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}" />
    </dxui:ModalityLayout.Behaviors>
    <CheckBox x:Name="OpenSheetCheckBox"
    HorizontalOptions="Center"
    VerticalOptions="Center" />
    </dxui:ModalityLayout>
    </ContentPage>