public ArCaBlockView(BlockModel objBlockModel, bool IsAddMode)
        {
            InitializeComponent();
            _IsAddMode               = IsAddMode;
            _objBlockModOld          = objBlockModel;
            _objBlockModNew          = objBlockModel.Clone();
            GridMain.DataContext     = _objBlockModNew;
            cbCategory.ItemsSource   = ArCaManaged.Commands.ArCaCommands._formRefMgr.cbMain.ItemsSource;
            cbCategory.SelectedIndex = ArCaManaged.Commands.ArCaCommands._formRefMgr.cbMain.SelectedIndex;
            GridProp.DataContext     = _objBlockModNew.LstBlockProp[0];//Set First property
            objIdColl = new ObjectIdCollection();

            if (IsAddMode)
            {
                InitializeAddMode();
            }
            else
            {
                InitializeEditMode();
            }
        }