yavsc/BookAStar/BookAStar/EventDetail.xaml.cs

35 lines
717 B
C#

using System;
using System.Collections.Generic;
using Xamarin.Forms;
using BookAStar;
using System.Collections.ObjectModel;
using BookAStar.Model.Workflow.Messaging;
namespace BookAStar
{
public partial class EventDetail : ContentPage
{
public ObservableCollection<YaEvent> Events
{ get; private set; }
public EventDetail (YaEvent ev)
{
InitializeComponent();
BindingContext = ev;
btn_webpage.Clicked += (object sender, EventArgs e) => {
App.PlateformSpecificInstance.OpenWeb(ev.EventWebPage);
};
}
///protected override void OnDisappearing ()
// { Navigation.PopAsync (); }
//private async void Close() {
//await Navigation.PopAsync ();
//}
}
}