Vapolia.StrokedLabel
1.0.1
Prefix Reserved
dotnet add package Vapolia.StrokedLabel --version 1.0.1
NuGet\Install-Package Vapolia.StrokedLabel -Version 1.0.1
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="Vapolia.StrokedLabel" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vapolia.StrokedLabel --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Vapolia.StrokedLabel, 1.0.1"
#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 Vapolia.StrokedLabel as a Cake Addin #addin nuget:?package=Vapolia.StrokedLabel&version=1.0.1 // Install Vapolia.StrokedLabel as a Cake Tool #tool nuget:?package=Vapolia.StrokedLabel&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Vapolia.StrokedLabel
dotnet add package Vapolia.StrokedLabel
builder.UseStrokedLabelBehavior();
Platforms:
- Android
- iOS
Quick start
Add the above nuget package to your Maui project
then add this line to your maui app builder:
using Vapolia.StrokedLabels;
...
builder.UseStrokedLabelBehavior();
Examples
See the SampleApp in this repo.
Declare the namespace:
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
...
xmlns:stroked="https://vapolia.eu/Vapolia.StrokedLabel">
Apply the behavior to a label:
<Label Text="I do really like it!"
FontSize="32"
TextColor="LightBlue"
stroked:StrokedLabel.StrokeColor="DarkBlue"
stroked:StrokedLabel.StrokeWidth="4" />
Apply the behavior through a style:
<StackLayout>
<StackLayout.Resources>
<Style TargetType="Label">
<Setter Property="TextColor" Value="LightBlue" />
<Setter Property="stroked:StrokedLabel.StrokeColor" Value="DarkBlue" />
<Setter Property="stroked:StrokedLabel.StrokeWidth" Value="4" />
</Style>
</StackLayout.Resources>
<Label FontSize="32" Text="I like it so much!" />
</StackLayout>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-android34.0 is compatible. net8.0-ios17.5 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0-android34.0
- Microsoft.Maui.Controls (>= 8.0.90)
-
net8.0-ios17.5
- Microsoft.Maui.Controls (>= 8.0.90)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
1.0.1: Fix android
1.0.0: Initial release