XAML.Converter.MAUI
1.2.1
The owner has unlisted this package.
This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package XAML.Converter.MAUI --version 1.2.1
NuGet\Install-Package XAML.Converter.MAUI -Version 1.2.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="XAML.Converter.MAUI" Version="1.2.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="XAML.Converter.MAUI" Version="1.2.1" />
<PackageReference Include="XAML.Converter.MAUI" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add XAML.Converter.MAUI --version 1.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: XAML.Converter.MAUI, 1.2.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.
#:package XAML.Converter.MAUI@1.2.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=XAML.Converter.MAUI&version=1.2.1
#tool nuget:?package=XAML.Converter.MAUI&version=1.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
XAML.Converter
Converter
for WPF
1. BoolConverter
binding value
must be of type System.Boolean
, otherwise Binding.DoNothing will be output
Xaml code
<Grid>
<Grid.Resources>
<BoolConverter
x:Key="BoolConverter"
False="false value"
True="true vallue" />
<BoolConverter
x:Key="BoolToVisibilityConverter"
False="{x:Static Visibility.Collapsed}"
True="{x:Static Visibility.Visible}" />
</Grid.Resources>
<TextBlock Text="{Binding Result, Converter={StaticResource BoolConverter}}" />
<TextBlock Visibility="{Binding Result, Converter={StaticResource BoolToVisibilityConverter}}" />
</Grid>
CSharp code
public bool Result { get; set; } = true;
2. CompareConverter
- EqualConverter
- GreaterThanConverter
- GreaterThanOrEqualConverter
- LessThanConverter
- LessThanOrEqualConverter
- NotEqualConverter
3. EnumConverter
- EnumDescriptionConverter
- EnumDisplayNameConverter
4. MediaConverter
- BrushStringConverter
- ColorStringConverter
5. EnumerableConverter
- LengthConverter
- NullOrEmptyConverter
- NotNullOrEmptyConverter
6. ObjectConverter
- NotNullConverter
- NullConverter
7. EnumConverter
- NotNullOrWhiteSpaceConverter
- NullOrWhiteSpaceConverter
8. RangeConverter
- InRangeConverter
- OutOfRangeConverter
9. RangeConverter
- CompositeConverter
- FuncConverter
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-android34.0 is compatible. net8.0-browser was computed. net8.0-ios was computed. net8.0-ios18.0 is compatible. net8.0-maccatalyst was computed. net8.0-maccatalyst18.0 is compatible. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net8.0-windows10.0.19041 is compatible. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- No dependencies.
-
net8.0-android34.0
- No dependencies.
-
net8.0-ios18.0
- No dependencies.
-
net8.0-maccatalyst18.0
- No dependencies.
-
net8.0-windows10.0.19041
- No dependencies.
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 |
---|