Skip to content

Instantly share code, notes, and snippets.

@ozzieperez
Created March 17, 2015 22:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ozzieperez/64d4b9bca618242c7645 to your computer and use it in GitHub Desktop.
Save ozzieperez/64d4b9bca618242c7645 to your computer and use it in GitHub Desktop.
Xamarin.Forms code template for bindable properties
public static readonly BindableProperty $name$Property = BindableProperty.Create<$owner$,$type$>(p => p.$name$, default($type$));
public $type$ $name$
{
get { return ($type$)GetValue($name$Property); }
set { SetValue($name$Property, value); }
}$end$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment