Skip to content

FreakyZoomableView

Gulam Ali H edited this page May 31, 2024 · 1 revision

FreakyZoomableView Class

A custom zoomable view that allows pinch and double-tap gestures to zoom and pan its content.

Properties

MinScale (double)

  • Description: The minimum scale factor allowed for zooming.
  • Default: 1.0

MaxScale (double)

  • Description: The maximum scale factor allowed for zooming.
  • Default: 4.0

DoubleTapScaleFactor (double)

  • Description: The scale factor applied when double-tapping to zoom.
  • Default: 4.0

DoubleTapToZoom (bool)

  • Description: Enables or disables zooming on double-tap.
  • Default: true

IsDoubleTapZoomAnimationEnabled (bool)

  • Description: Enables or disables animation for double-tap zoom.
  • Default: true

Zoomable (bool)

  • Description: Enables or disables the ability to zoom the content.
  • Default: true

Translateable (bool)

  • Description: Enables or disables the ability to translate (pan) the content.
  • Default: true

An easy usage example

 <freakyControls:FreakyZoomableView>
    <Image Aspect="AspectFit" Source="{x:Static sample:ImageUrls.female1}"/>
 </freakyControls:FreakyZoomableView>