Xamarin Studio之模版

Template用法:

 

1.BindableProperty

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); }
}

 

posted @ 2016-05-17 00:21  做一个清醒者  阅读(339)  评论(0编辑  收藏  举报