using Foundation;
using System;
using UIKit;
using Shopping.DemoApp.iOS.Extensions;

namespace Shopping.DemoApp.iOS
{
    public partial class QLTNBookphongkodaccocViewController : UIViewController
    {
		public Product Item { get; set; }
        public QLTNBookphongkodaccocViewController (IntPtr handle) : base (handle)
        {
        }


		public override void ViewWillAppear(bool animated)
		{
			base.ViewWillAppear(animated);
			this.AddDefaultNavigationTitle();
			//CustomizeNavigationBar();

		}

		private void CustomizeNavigationBar()
		{
			NavigationController.NavigationBar.Translucent = false;
			NavigationController.NavigationBar.BarTintColor = new UIColor(69 / 255f, 152 / 255f, 54 / 255f, 1);
			NavigationController.NavigationBar.TintColor = UIColor.White;
			NavigationController.NavigationBar.ShadowImage = new UIImage();
			NavigationController.NavigationBar.SetBackgroundImage(new UIImage(), UIBarMetrics.Default);

			NavigationController.NavigationBar.TitleTextAttributes = new UIStringAttributes()
			{
				ForegroundColor = UIColor.White
			};
		}
    }
}