You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PocketBook/src/BookApp/ContentView/ContentCollection.xaml.cs

25 lines
744 B

using System.Collections.ObjectModel;
using System.Globalization;
using static BookApp.MainPage;
namespace BookApp
{
public partial class ContentCollection : ContentView
{
public static readonly BindableProperty ItemsSourceProperty =
BindableProperty.Create(nameof(ItemsSource), typeof(ObservableCollection<ObjetTemp>), typeof(ContentCollection));
public ObservableCollection<ObjetTemp> ItemsSource
{
get { return (ObservableCollection<ObjetTemp>)GetValue(ItemsSourceProperty); }
set { SetValue(ItemsSourceProperty, value); }
}
public ContentCollection()
{
InitializeComponent();
BindingContext = this;
}
}
}