コード例 #1
0
        public QuoteDetailView(Quote quote)
        {
            InitializeComponent();

            BindingContext = new QuoteViewModel();

            this.quote = quote;

            description.Text = quote.Description;
            author.Text      = quote.Author;
        }
コード例 #2
0
        public QuoteView()
        {
            InitializeComponent();

            BindingContext = new QuoteViewModel();
        }