38 references to Annotation
System.Data (38)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlSchemaContext.cs (1)
42supportedTypes.Add(typeof(System.Activities.Presentation.Annotations.Annotation));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Annotations\Annotation.cs (4)
22public static readonly AttachableMemberIdentifier AnnotationTextProperty = new AttachableMemberIdentifier(typeof(Annotation), "AnnotationText"); 47AttachablePropertyServices.TryGetProperty<string>(instance, Annotation.AnnotationTextProperty, out annotationText); 65AttachablePropertyServices.SetProperty(instance, Annotation.AnnotationTextProperty, annotationText); 69AttachablePropertyServices.RemoveProperty(instance, Annotation.AnnotationTextProperty);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Annotations\AnnotationManager.cs (9)
182bool? value = this.ViewStateService.RetrieveViewState(this.ModelItem, Annotation.IsAnnotationDockedViewStateName) as bool?; 196this.ViewStateService.StoreViewState(this.ModelItem, Annotation.IsAnnotationDockedViewStateName, value); 237this.hasAnnotation = this.ModelItem.Properties[Annotation.AnnotationTextPropertyName].ComputedValue != null; 239if (this.ModelItem.Properties[Annotation.AnnotationTextPropertyName].ComputedValue == null) 339if (e.ParentModelItem == this.ModelItem && e.Key == Annotation.IsAnnotationDockedViewStateName && !this.isViewStateChangedInternally) 361if (e.PropertyName == Annotation.AnnotationTextPropertyName) 364this.hasAnnotation = this.ModelItem.Properties[Annotation.AnnotationTextPropertyName].ComputedValue != null; 425this.helpService.RemoveContextAttribute(string.Empty, typeof(Annotation).FullName); 435this.helpService.AddContextAttribute(string.Empty, typeof(Annotation).FullName, ComponentModel.Design.HelpKeywordType.F1Keyword);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Annotations\WorkflowAnnotationAdornerService.cs (5)
75Name = Annotation.AnnotationTextPropertyName, 80AttachablePropertyServices.TryGetProperty<string>(modelItem.GetCurrentValue(), Annotation.AnnotationTextProperty, out annotation); 86AttachablePropertyServices.TryGetProperty<string>(modelItem.GetCurrentValue(), Annotation.AnnotationTextProperty, out oldValue); 97AttachablePropertyIdentifier = Annotation.AnnotationTextProperty, 100PropertyName = Annotation.AnnotationTextPropertyName
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ContextMenuUtilities.cs (4)
99ModelProperty property = modelItem.Properties.Find(Annotation.AnnotationTextPropertyName); 106viewStateService.StoreViewStateWithUndo(modelItem, Annotation.IsAnnotationDockedViewStateName, false); 138modelItem.Properties[Annotation.AnnotationTextPropertyName].SetValue(null); 140viewStateService.StoreViewStateWithUndo(modelItem, Annotation.IsAnnotationDockedViewStateName, null);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (1)
267ModelProperty property = modelItem.Properties.Find(Annotation.AnnotationTextPropertyName);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (2)
309string annotationText = (string)variable.Properties[Annotation.AnnotationTextPropertyName].ComputedValue; 385string annotationText = (string)argument.Properties[Annotation.AnnotationTextPropertyName].ComputedValue;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\AnnotationDialog.xaml.cs (1)
18this.HelpKeyword = typeof(Annotation).FullName;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (3)
935ModelProperty property = this.ReflectedObject.Properties.Find(Annotation.AnnotationTextPropertyName); 949ModelProperty property = this.ReflectedObject.Properties.Find(Annotation.AnnotationTextPropertyName); 1480else if (propertyName == Annotation.AnnotationTextPropertyName)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (4)
1606viewStateService.StoreViewState(item, Annotation.IsAnnotationDockedViewStateName, true); 1630viewStateService.StoreViewState(item, Annotation.IsAnnotationDockedViewStateName, false); 1665item.Properties[Annotation.AnnotationTextPropertyName].ClearValue(); 1666viewStateService.StoreViewStateWithUndo(item, Annotation.IsAnnotationDockedViewStateName, null);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (4)
1156if (propertyName == Annotation.AnnotationTextPropertyName) 1227Annotation.SetAnnotationText(variable, annotationText); 1302ModelProperty property = this.ReflectedObject.Properties.Find(Annotation.AnnotationTextPropertyName); 1316ModelProperty property = this.ReflectedObject.Properties.Find(Annotation.AnnotationTextPropertyName);