Search

Search results

  1. In this example we are implementing a really cool card navigation with a "swipe to reveal details" action. Design by Leo Leung. Icons are from Google's excellent Material Icons and nature images from UnSplash. The swipe gesture Each card has a SwipeGesture with the Direction property set to Up. This means that one has to swipe upwards in order to activate the gesture. <SwipeGesture ux:Name="swipe" Direction="Up" Type="Active" /> Setting the Type property to Active means that this gesture wo...

    Swipe gesture Cards
  2. In this example, we make a custom toggle control using SwipeGesture and SwipingAnimation. <App> <Panel ux:Class="MyToggle" Width="80" Height="34" PrimaryColor="#9b59b6" SecondaryColor="#fff"> <float4 ux:Property="PrimaryColor" /> <float4 ux:Property="SecondaryColor" /> <bool ux:Property="IsActive" /> <SwipeGesture ux:Name="swipe" Length="46" Direction="Right" Type="Active" IsActive="{Property IsActive}" /> <SwipingAnimation Source="swipe"> ...

    Custom control Swipe gesture