Last active
March 20, 2023 12:25
-
-
Save suchithm/4fe82957d58105d1b3326853c8c2bee6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
CustomWebView.cs: | |
using System; | |
using Xamarin.Forms; | |
namespace CustomControls | |
{ | |
public class CustomWebView : WebView | |
{ | |
} | |
} | |
PaymentWebViewPage.xaml: | |
<?xml version="1.0" encoding="utf-8" ?> | |
<ContentPage xmlns:pages="clr-namespace:Views" | |
xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:customControls="clr-namespace:CustomControls" | |
x:Name="PaymentWebViewPage" | |
x:Class="MyPlans.PaymentWebViewPage"> | |
<ContentPage.Content> | |
<customControls:CustomWebView VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand"> | |
</customControls:CustomWebView> | |
</ContentPage.Content> | |
</ContentPage> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment