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