Building a Custom Checkbox Control This post is a code dump for a custom checkbox control. There's four main parts for this: Custom Control * Bindings * XAML Host Page * XAML * Viewmodel Bindings XAML Host Page Viewmodel
I recently implemented a Ratings user interface for a Xamarin.Forms app: Here's the XAML for the Rate interface: Here's the ValueConverter implementation: Here's the viewmodel property and command:
Intro I came across a scenario in which my app exposed multiple methods for navigating to a particular page. Method 1: XAML One exposed method was from the app menu in which the navigation was implemented in XAML: Method 2: Code-behind of Initial page Another exposed method was to perform navigation from another page's code-behind: Method …
The video I provided below discusses an app that I'm building in which I harness Domain Driven Design with F#.
Here's some code for ItemsSource:
Intro This is a brain dump on implementing a responsive layout based on a device being in Portrait or Landscape mode. In summary, I used a ContentView's ControlTemplate to host a layout that depends on a device being in Portrait or Landscape mode. In addition, I then overrode the OnSizeAllocated method on the ContentPage. XAML …