Skip to content

Instantly share code, notes, and snippets.

@winstongubantes
Created February 10, 2017 15:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save winstongubantes/68155f850072888a70fb287cb1018d74 to your computer and use it in GitHub Desktop.
Save winstongubantes/68155f850072888a70fb287cb1018d74 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:CustomPopupDialog"
xmlns:views="clr-namespace:CustomPopupDialog.Views;assembly=CustomPopupDialog"
x:Class="CustomPopupDialog.MainPage"
Title="Custom Dialog Test">
<ContentPage.Content>
<Grid>
<Button VerticalOptions="End" x:Name="BtnShowDialog" Text="ShowDialog"></Button>
<views:PopUpDialogView x:Name="PopUpDialog" HeaderTitle="Test Dialog">
<!--CREATE YOUR BINDABLE ELEMENTS HERE BASE FROM THE PAGES VIEW MODELS-->
<Label Text="This is a content"></Label>
</views:PopUpDialogView>
</Grid>
</ContentPage.Content>
</ContentPage>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment