Skip to content

mariusmuntean/Aperture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aperture

A Xamarin.Forms custom control that shows either the background or a child view using an aperture-like mask.

It is implemented exclusively in Xmarin.Forms and hence should run on all platforms where Xamarin.Forms is supported. Also, it is tiny. Would probably look great on watches :D

Get it from NuGet: NuGet

Here's a quick rundown of the control's features:

  • Specify the aperture opening, where 0.0 corresponds to closed and 1.0 to fully open.
  • Choose an aperture color.
  • OPTIONAL: provide a child view to be shown, instead of the control's background

Known Limitations

On iOS you might have jittery movement. Just add thesetwo lines to your App.xaml

         xmlns:ios="clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core"
         ios:Application.HandleControlUpdatesOnMainThread="true"

Here's a gif of the included sample app:

Sample

As usual you can do everything you want with my code. Have fun!

Have a question? Tweet at me: https://twitter.com/MunteanMarius

About

Aperture-like custom control for Xamarin.Forms

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy