PhantomLib 2.0.7

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 PhantomLib --version 2.0.7
                    
NuGet\Install-Package PhantomLib -Version 2.0.7
                    
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="PhantomLib" Version="2.0.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PhantomLib" Version="2.0.7" />
                    
Directory.Packages.props
<PackageReference Include="PhantomLib" />
                    
Project file
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 PhantomLib --version 2.0.7
                    
#r "nuget: PhantomLib, 2.0.7"
                    
#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 PhantomLib@2.0.7
                    
#: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=PhantomLib&version=2.0.7
                    
Install as a Cake Addin
#tool nuget:?package=PhantomLib&version=2.0.7
                    
Install as a Cake Tool

PhantomLib

Collection of Xamarin controls, converters, behaviors, effects that will speed your developement time. Note: Version 2.x of this package is not backward compatible with 1.x.

Effects included in this library

  • Kerning Effect - Allows you to specify the letter spacing of your labels. Kerning Image

  • TintImage Effect - Allows you to change the color of an image. TintImage Image

Custom controls in this library

  • RoundedFrame - No longer is rounding corners on a frame an all or nothing affair. With RoundedFrame, you're in control of which corners are rounded and which aren't. Only need the left corners rounded? No problem. Only the top left corner? We can do that too. Any combination of corners can be rounded. Sample rounded frame

  • UltimateEntry - The UltimateEntry control jam packed with functionality. Features include being able to set an icon on the right that will clear the contents when tapped. You can also use it as a password entry and set an icon to show and hide the password by tapping it. You can have it validate input and show an error when validation fails. You can also style it like material design by having an underline on the bottom. UltimateEntry Image

  • FloatingLabel - This control is used with the UltimateControl to "float" the placeholder while entering text. Floating label Image

Behaviors included in this library

  • Tap Command Behavior - Allows you to bind an ICommand to be executed when a control is tapped. Sample rounded frame

Converters included in this library

  • CharacterCountConverter - Counts the characters in a string
  • InverseBoolConverter - Inverses Boolean values
  • IsMinimumCharacterCountConverter - Counts the characters in a string and determines if it meets a minimum count
  • IsMinimumValueConverter - Determines if a number meets a minimum count
  • IsNullConverter - Determines if a value is null
  • IsNullOrWhitespace - Determines if a string value is null or whitespace
  • IsNotNullConverter - Determines if a value is not null (inverse of IsNullConverter)
  • IsNotNullOrWhitespace - Determines if a string value is not null or whitespace (inverse of IsNullOrWhitespaceConverter)
  • StringFormatConverter - Safely formats strings (handles case where format string is not a valid .NET format string)
  • ToUpperConverter - Uppercases each character in a string (culture-specific) Sample converters

Attached Properties in this library

  • Labels.Kerning - Helper to easily add Kerning Effect

  • Views.TapBackgroundColor - Set the temporary background color of a view when it is tapped Sample rounded frame

  • Pages.FloatingActionButton - Add a Button to the page as a floating action button. Sample fab

Other helpers included in this library

  • BaseAttachable - Acts as a base class for view-models, with helpers to easily raise IPropertyChanged events for properties.
  • Safe Area Insets - Allows adjustment based on the safe area insets of the screen (affected by screen cutouts and software buttons). This is available through the Values extension, providing dynamic resources for each dimension (Left, Top, Right, Bottom) and thicknesses with combinations of these dimensions. For example, Double_SafeAreaInset_T represents the top inset, Thickness_SafeAreaInsets represents the thickness with each inset dimension, and Thickness_SafeAreaInsets_LRB incorporates the Left, Right, and Bottom insets but ignores the Top inset.

Installation

You must make a call to initialize after Forms.Init and before LoadApplication in order to use the effects from this library in AppDelegate.cs (iOS) and/or MainActivity.cs (Android).

Android:

global::Xamarin.Forms.Forms.Init(this, savedInstanceState);
PhantomLib.Droid.Effects.Effects.Init();
LoadApplication(new App());

iOS:

LoadApplication(new  App());  
PhantomLib.iOS.Effects.Effects.Init();  
return base.FinishedLaunching(app,  options);

Documentation

Documentation can be found in the WIKI

Sample

Included is a sample app that demonstrates each component.

Sample Image

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed.  monoandroid10 is compatible. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed.  xamarinios10 is compatible. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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
Loading failed

Bugfix for UltimateEntry on smaller devices.