FmgLib.MauiMarkup.Views 8.0.14

There is a newer version of this package available.
See the version list below for details.
dotnet add package FmgLib.MauiMarkup.Views --version 8.0.14
NuGet\Install-Package FmgLib.MauiMarkup.Views -Version 8.0.14
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FmgLib.MauiMarkup.Views" Version="8.0.14" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FmgLib.MauiMarkup.Views --version 8.0.14
#r "nuget: FmgLib.MauiMarkup.Views, 8.0.14"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install FmgLib.MauiMarkup.Views as a Cake Addin
#addin nuget:?package=FmgLib.MauiMarkup.Views&version=8.0.14

// Install FmgLib.MauiMarkup.Views as a Cake Tool
#tool nuget:?package=FmgLib.MauiMarkup.Views&version=8.0.14

FmgLib.MauiMarkup.Views with C# Markup classes and fluent helper methods.(CommunityToolkit.Maui)

global using FmgLib.MauiMarkup;
global using FmgLib.MauiMarkup.Views;

namespace Sample.Controls;

public partial class MyPopup : Popup
{
    public MyPopup()
    {
        this
            .CanBeDismissedByTappingOutsideOfPopupFmg(false)
            .ColorFmg(Colors.Transparent)
            .ContentFmg(
                new Grid()
                .ChildrenFmg(
                    new Frame()
                    .CornerRadiusFmg(25)
                    .ContentFmg(
                        new VerticalStackLayout()
                        .FillHorizontalFmg()
                        .FillVerticalFmg()
                        .MarginFmg(10)
                        .ChildrenFmg(

                            new Button()
                            .TextFmg("Ana Sayfa")
                            .FontAttributesFmg(FontAttributes.Bold)
                            .BackgroundColorFmg(Colors.DarkBlue)
                            .TextColorFmg(Colors.White)
                            .HeightRequestFmg(35)
                            .WidthRequestFmg(120)
                            .PaddingFmg(0)
                            .InvokeOnElementFmg(b => b.Clicked += async (sender, e) =>
                            {
                                await CloseAsync();
                            })
                        )
                    )
                )
            );
    }
}

Exam(DrawingView):

new DrawingView()
.LineColorFmg(Red)
.LineWidthFmg(5)
.ColumnSpanFmg(2)
.IsMultiLineModeEnabledFmg(true)
.ShouldClearOnFinishFmg(false)
.InvokeOnElementFmg(e => e.DrawingLineCompleted += async (sender, e) =>
{
     var stream = await e.LastDrawingLine.GetImageStream(400, 200, Gray.AsPaint());
     drawingImage.Source = ImageSource.FromStream(() => stream);
})
.BindFmg(DrawingView.LinesProperty, "Lines")
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.14.1 83 3/30/2024
8.0.14 92 3/23/2024
8.0.7 102 2/23/2024
8.0.6.3 112 2/6/2024
8.0.6.2 86 1/31/2024
8.0.6.1 90 1/25/2024
8.0.6 81 1/23/2024