Skip to content

FreakySwipeButton

Gulam Ali H edited this page Feb 13, 2024 · 2 revisions

Inspired from : https://stackoverflow.com/questions/45936224/xamarin-forms-slide-button

FreakySwipeButton Class

FreakySwipeButton is a custom control that allows users to swipe a thumb element horizontally within a track bar to trigger actions or indicate a value change.

Properties

SlideCompleteCommand

  • Type: ICommand
  • Description: Gets or sets the command to be executed when the slide operation is completed.

Thumb

  • Type: View
  • Description: Gets or sets the thumb element of the swipe button, which users can drag horizontally along the track bar.

TrackBar

  • Type: View
  • Description: Gets or sets the track bar element of the swipe button, which provides the visual indication of the swipeable area.

FillBar

  • Type: View
  • Description: Gets or sets the fill bar element of the swipe button, which visually fills up as the thumb is dragged along the track bar.

Events

SlideCompleted

  • Type: EventHandler
  • Description: Raised when the slide operation is completed.
Clone this wiki locally