1 write to PromotedProperty
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignerMetadata.cs (1)
89
builder.AddCustomAttributes(type, new ShowInOutlineViewAttribute() {
PromotedProperty
= "Handler" });
10 references to PromotedProperty
System.Data (10)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemModelItemViewModel.cs (3)
32
if (attr != null && !string.IsNullOrEmpty(attr.
PromotedProperty
))
35
this.promotedProperty = modelItem.Properties[attr.
PromotedProperty
];
43
Fx.Assert(attr.
PromotedProperty
+ " not found on " + modelItem.Name);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemModelPropertyViewModel.cs (2)
43
if (viewVisible != null && !string.IsNullOrWhiteSpace(viewVisible.
PromotedProperty
))
45
ModelProperty promotedProperty = modelProperty.Value.Properties.Find(viewVisible.
PromotedProperty
);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (5)
407
if (string.IsNullOrWhiteSpace(outlineView.
PromotedProperty
))
413
ModelProperty promotedProperty = property.Value.Properties.Find(outlineView.
PromotedProperty
);
416
throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.PromotedPropertyNotFound, outlineView.
PromotedProperty
, property.Value.Name)));
466
if (attr != null && !string.IsNullOrEmpty(attr.
PromotedProperty
))
468
return string.Equals(propertyName, attr.
PromotedProperty
, StringComparison.Ordinal);