コード例 #1
0
		public LayoutPartDescriptionViewModel(ILayoutPartDescription layoutPartDescription)
		{
			LayoutPartDescription = layoutPartDescription;
			VisualizationState = VisualizationState.Prohibit;
			AddCommand = new RelayCommand(OnAddCommand, CanAddCommand);
			DragCommand = new RelayCommand(OnDragCommand, CanAddCommand);
		}
コード例 #2
0
		public LayoutPartViewModel(LayoutPart layoutPart, ILayoutPartDescription description)
		{
			LayoutPart = layoutPart;
			Description = description;
		}