public ManageVendorsWindow(ManageVendorsViewModel ViewModel)
        {
            this.ViewModel   = ViewModel ?? new ManageVendorsViewModel();
            this.DataContext = this.ViewModel;

            InitializeComponent();

            // create an instance of our property details creator and pass our container object
            propertyDetails = new PropertyDetails(DetailView);
            propertyDetails.AddDetails(typeof(VendorDetail));
        }