FmgLib.MauiMarkup.Views
8.0.14
There is a newer version of this package available.
See the version list below for details.
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.
-
net8.0
- CommunityToolkit.Maui (>= 7.0.1)
- FmgLib.MauiMarkup.Core (>= 8.0.7)
- Microsoft.Maui.Controls (>= 8.0.7)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.7)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.