FunctionZero.zBind 1.3.1

.NET Standard 2.0
dotnet add package FunctionZero.zBind --version 1.3.1
NuGet\Install-Package FunctionZero.zBind -Version 1.3.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="FunctionZero.zBind" Version="1.3.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FunctionZero.zBind --version 1.3.1
#r "nuget: FunctionZero.zBind, 1.3.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install FunctionZero.zBind as a Cake Addin
#addin nuget:?package=FunctionZero.zBind&version=1.3.1

// Install FunctionZero.zBind as a Cake Tool
#tool nuget:?package=FunctionZero.zBind&version=1.3.1

z:Bind is a xaml markup extension for Xamarin.Forms that allows you to bind directly to an expression

If you want to do things like this: (note the expression is enclosed inside quotes)

<StackLayout 
	IsVisible="{z:Bind '(Item.Count != 0) AND (Status == \'Administrator\')'}" > ...
  1. Install FunctionZero.zBind to your shared project
  2. add xmlns:z="clr-namespace:FunctionZero.zBind.z;assembly=FunctionZero.zBind"
    To your xaml page (or let Visual Studio do it for you)
  3. That's all you need to do 😃

Head over here for source code, documentation and a sample application

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on FunctionZero.zBind:

Package Downloads
FunctionZero.MvvmZero

An easy to use library for building cross-platform Xamarin Forms applications very quickly. Includes FunctionZero.zBind, allowing fully featured databinding to expressions.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.3.1 235 6/24/2022
1.3.0 178 6/19/2022
1.2.4 349 11/2/2021
1.2.3 323 10/19/2021
1.2.2 181 10/17/2021
1.2.1 591 6/3/2021
1.2.0 346 6/1/2021
1.2.0-pre0 330 5/23/2021
1.1.0 220 5/8/2021
1.0.0 228 3/20/2021
1.0.0-pre-1 149 3/8/2021

Updated to ExpressionParserZero 5.2.0 so that functions and assignments automatically cast to the desired type, preventing InvalidCastExceptions.