Skip to content

PremSaiVarada/DemoCustomSheets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CustomSheets Nuget Nuget License: MIT

A simple customizable plugin for .NET MAUI.

Big thanks to Matt Goldman by his wonderful concept of #MAUIUIJuly, I learn so many new things during this month.

All the blogs from this #MAUIUIJuly are very easy to understand the .NET Maui UI structure

With the knowledge of this program, I create one small/simple customizable sheets plugin and I hope, it while be usefull to us.

Supported platforms

  • Android
  • [?] Other Platforms (Should work but I haven't tested)

How to use

  1. NuGet

NuGet ID: plugin.customsheets

image

You can get this from NuGet here: https://www.nuget.org/packages/CustomSheets/

Or use the Package Manager:

Install-Package CustomSheets -Version 1.0.6

2.Add the following namespace declaration in your Xaml pages

xmlns:sheets="clr-namespace:CustomSheets;assembly=CustomSheets"

3.Add the sheet to your page and set the properties as you need

<sheets:Sheet x:Name="CommonSheet">
  <sheets:Sheet.SheetContent>
    <Label  Text="Payment Sucess ! " FontSize="Title" FontAttributes="Italic" TextColor="ForestGreen"/>
  </sheets:Sheet.SheetContent>
</sheets:Sheet>

Properties

Property Data Type Defalut Value Info
SheetHeight double height of the screen - 200 This defines the height of the sheet content area
SheetWidth double width of the screen This defines the width of the sheet content area
SheetVisibel bool false This property only to get that the sheet is visible or not
IsCloseButtonVisible bool true To hide/show the Close Button
SheetBackground Brush Brush.Default To set the gradient colors to the sheet
SheetBackgroundColor Color White To set the colors to the sheet
IsRoundRectangleVisible bool true To hide/show the RoundRectangel in sheet
BackClickClose bool false When click on the background to close the sheet
RoundRectangleFill Brush Brush.Lightgray Change/set the color to the RoundRectangle
ForButtomLayout This propertie to add the Layout for the button
SheetContent This propertie to add the Layout for the Sheet

Methods

Method Explanation
OpenSheet It will open the sheet
CloseSheet It will close the sheet

Sample Output

Demo on Version 1.0.6

Screenshot (19)

Demo on Version 1.0.4

Veed.Recording.-.29.July.20221.mp4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages