<sfPopup:SfPopupLayout x:Name="popupLayout">
<sfPopup:SfPopupLayout.PopupView>
<sfPopup:PopupView ShowHeader="False" ShowFooter="False"VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand" >
<sfPopup:PopupView.PopupStyle>
<sfPopup:PopupStyle BorderColor="Transparent"/>
</sfPopup:PopupView.PopupStyle>
<sfPopup:PopupView.ContentTemplate>
<DataTemplate>
<Label BackgroundColor="Transparent" Text="Popup Content"/>
</DataTemplate>
</sfPopup:PopupView.ContentTemplate>
</sfPopup:PopupView>
</sfPopup:SfPopupLayout.PopupView>
<sfPopup:SfPopupLayout.Content>
<StackLayout>
<Button x:Name="isOpenButton" Text="Click to open popup"Clicked="isOpenButton_Clicked"/>
</StackLayout>
</sfPopup:SfPopupLayout.Content>
</sfPopup:SfPopupLayout> |
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<syncCore:LightTheme />
<ResourceDictionary>
<x:String x:Key="SfPopup">CommonTheme</x:String>
<Color x:Key="SfPopupLayoutContentBackgroundColor">Transparent</Color>
</ResourceDictionary>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources> |