This video about implementing Expansion Panel Plugin In .NET MAUI.
A blog about Xamarin.Forms, .NET MAUI, .NET MAUI Handler, Xamarin.iOS, Xamarin.Android, Custom Renderer, Xamarin Custom Control, Push Notification, Play Video From URI, Data Bindings. Xamarin Calendar
Saturday, 24 September 2022
Plugin.Maui.ExpansionPanel
Expansion Panel In .NET MAUI (Plugin.Maui.ExpansionPanel )
NuGet: https://www.nuget.org/packages/Plugin.Maui.ExpansionPanel
Monday, 19 September 2022
Plugin.Maui.Popup
How to use Plugin.Maui.Popup
Install Plugin.Maui.Popup Plugin in your project.
https://www.nuget.org/packages/Plugin.Maui.Popup (1.0.4)
Now add xmlns:mauiPopup="clr-namespace:MauiPopup.Views;assembly=MauiPopup" this namespace in your content page.
Also replace ContentPage tag to <mauiPopup:BasePopupPage.
PopupPage.xaml
<?xml version="1.0" encoding="utf-8" ?> <mauiPopup:BasePopupPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:mauiPopup="clr-namespace:MauiPopup.Views;assembly=MauiPopup" x:Class="MauiPopupDemo.PopupPage" Title="PopupPage"> <VerticalStackLayout> <Label Text="Welcome to .NET MAUI!" VerticalOptions="Center" HorizontalOptions="Center" /> </VerticalStackLayout> </mauiPopup:BasePopupPage>
using MauiPopup.Views; namespace MauiPopupDemo; public partial class PopupPage : BasePopupPage { public PopupPage() { InitializeComponent(); } }
MauiPopup.PopupAction.DisplayPopup(new PopupPage());How to close Popup
MauiPopup.PopupAction.ClosePopup();
Display Popup that returning string value
string result = await MauiPopup.PopupAction.DisplayPopup(new PopupPage());
Now Pass String Value on ClosePopup Method
PopupAction.ClosePopup("hi");
Display Popup that returning other then string value
bool result = await MauiPopup.PopupAction.DisplayPopup<boo>(new PopupPage());
Now Pass Bool Value on ClosePopup Method
PopupAction.ClosePopup(true);
Pass Any Type of value in this method.
PopupAction.ClosePopup("hi");To Get String Value
To Get Other Type of Valuestring result = await MauiPopup.PopupAction.DisplayPopup(new PopupPage());
string result = await MauiPopup.PopupAction.DisplayPopup<int>(new PopupPage()); string result = await MauiPopup.PopupAction.DisplayPopup<bool>(new PopupPage()); string result = await MauiPopup.PopupAction.DisplayPopup<AnyTypeOfClass>(new PopupPage());
Implementation Video
Wednesday, 14 September 2022
Master Content Page ( Master Page, Partial View ) In .NET MAUI / Xamarin
This video about creating Master Content Page In .NET MAUI
Sunday, 11 September 2022
Implement Push Notification In .NET MAUI (Android)
This video about Implementing Push Notification In .NET MAUI (Android)
Friday, 9 September 2022
Upload File In .NET MAUI Blazor Application
This video about Uploading File In .NET MAUI Blazor App.
Friday, 2 September 2022
Create Button Control With Progress Bar (Activity Indicator) In .NET MAUI / Xamarin
This video about creating Button Control With Progress Bar (Activity Indicator) In .NET MAUI / Xamarin.
Disable Button On Click Until Activity Indicator IsRunning Property Set to False.
GitHub URL : https://github.com/mistrypragnesh40/ButtonControlWithProgressbar
GitHub URL : https://github.com/mistrypragnesh40/ButtonControlWithProgressbar
Subscribe to:
Posts (Atom)
Popular Posts
-
<Label Text = "{Binding Date,StringFormat='{0:MM/dd/yy}'}" /> Output: 05/25/2019 Date Formats: DateTime....
-
RatingBar Control- is a cross-platform plugin used for selecting the rating. How To Use Available on NuGet: https://www.nuget.org/...
-
Youtube Video: Packages Required Install sqlite-net-pcl Package in your .Net MAUI Project. Create EmployeeModel with few properties ...