Skip to content

Instantly share code, notes, and snippets.

Joe Meyer JoeM-RP

Block or report user

Report or block JoeM-RP

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View RadioOptions.cs
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace samples.core.Models
{
public class RadioOption : INotifyPropertyChanged
{
public RadioCategory Category { get; }
public string Title { get; }
View RadioButtonView.xaml.cs
using System;
using System.Linq;
using System.Collections.Generic;
using samples.core.Models;
using Xamarin.Forms;
using Xamarin.Forms.PlatformConfiguration.iOSSpecific;
using System.Collections.ObjectModel;
namespace samples.core.Views
{
View RadioButtonView.xaml
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="samples.core.Views.RadioButtonView" xmlns:behaviors="clr-namespace:samples.core.Behaviors" Title="Radio Buttons">
<ListView x:Name="ListView_Radio" ItemTapped="Handle_ItemTapped" ItemSelected="Handle_ItemSelected" IsGroupingEnabled="true" HasUnevenRows="true">
<!-- Group Header -->
<ListView.GroupHeaderTemplate>
<DataTemplate>
<ViewCell>
<StackLayout BackgroundColor="{StaticResource MediumGray}">
<Label Margin="14,0" Text="{Binding Key}" FontSize="Large" VerticalOptions="CenterAndExpand"/>
</StackLayout>
@JoeM-RP
JoeM-RP / -Templates.README.md
Last active Apr 30, 2018
Visual Studio Mac Snippets
View -Templates.README.md

README

To reuse templates simply copy these files to the appropriate location

VS Mac

~Library/VisualStudio/<version>/Snippets

VS Windows

%AppData%\VisualStudio\<version>\Snippets

You can’t perform that action at this time.