private void Binddata(Offers pp)
 {
     PieNameLabel.Text     = pp.Model;
     PieImage.Source       = pp.ImageUrl;
     DescriptionLabel.Text = pp.Description;
     PriceLabel.Text       = pp.Price;
     InStockLabel.Text     = pp.InStock ? "In stock" : "Not in stock";
 }
 public DetailView(Offers p)
 {
     InitializeComponent();
     Binddata(p);
 }