예제 #1
0
		private void RaiseAttributeDeleteInteractionRequest(PropertyAttribute item)
		{
			var confirmation = new ConditionalConfirmation
			{
				Content = string.Format("Are you sure you want to delete Property attribute '{0}({1})'?", item.PropertyAttributeName, item.PropertyAttributeValue),
				Title = "Delete confirmation"
			};

			CommonConfirmRequest.Raise(confirmation, (x) =>
			{
				if (x.Confirmed)
				{
					InnerItem.PropertyAttributes.Remove(item);
				}
			});
		}
 public PropertyAttributeViewModel(PropertyAttribute item)
 {
     InnerItem = item;
 }