public LayoutPartPropertyGeneralPageViewModel(LayoutPartViewModel layoutPartViewModel, LayoutPartSize layoutPartSize)
		{
			_initialized = false;
			_layoutPartSize = layoutPartSize;
			_layoutPartViewModel = layoutPartViewModel;
			UnitTypes = new ObservableCollection<GridUnitType>(Enum.GetValues(typeof(GridUnitType)).Cast<GridUnitType>());
			_initialized = true;
		}
		public LayoutPartPropertiesViewModel(LayoutPartViewModel layoutPartViewModel)
		{
			Title = string.Format("Свойства элемента: {0}", layoutPartViewModel.Title);
			LayoutPartViewModel = layoutPartViewModel;
			LayoutSize = LayoutPartViewModel.GetSize();
			using (new WaitWrapper())
			{
				PropertyPages = new ObservableCollection<LayoutPartPropertyPageViewModel>();
				PropertyPages.Add(new LayoutPartPropertyGeneralPageViewModel(LayoutPartViewModel, LayoutSize));
				foreach (var page in LayoutPartViewModel.Content.PropertyPages)
					PropertyPages.Add(page);
				CopyProperties();
			}
		}
		public void AddLayoutPart(LayoutPartDescriptionViewModel layoutPartDescriptionViewModel, bool dragging)
		{
			var layoutPartViewModel = new LayoutPartViewModel(layoutPartDescriptionViewModel);
			LayoutParts.Add(layoutPartViewModel);
			ActiveLayoutPart = layoutPartViewModel;
			if (dragging)
				Manager.StartDragging(layoutPartViewModel);
		}