17 references to NameProperty
PresentationFramework (14)
src\Framework\System\Windows\Controls\DataGrid.cs (1)
46
dataGridRowPresenterFactory.SetValue(FrameworkElement.
NameProperty
, ItemsPanelPartName);
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (2)
117
label = (string)d.GetValue(FrameworkElement.
NameProperty
);
1068
string name = (String)peer.GetValue(FrameworkElement.
NameProperty
);
src\Framework\System\Windows\FrameworkContentElement.cs (2)
725
if (dp == FrameworkElement.
NameProperty
&&
841
FrameworkElement.
NameProperty
.AddOwner(
src\Framework\System\Windows\FrameworkElement.cs (3)
2087
if (dp == FrameworkElement.
NameProperty
&&
3233
get { return (string) GetValue(
NameProperty
); }
3234
set { SetValue(
NameProperty
, value); }
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
2606
DependencyProperty dp = System.Windows.FrameworkElement.
NameProperty
;
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1789
return System.Windows.FrameworkElement.
NameProperty
;
src\Framework\System\Windows\Setter.cs (2)
83
if( property == FrameworkElement.
NameProperty
)
85
throw new InvalidOperationException(SR.Get(SRID.CannotHavePropertyInStyle, FrameworkElement.
NameProperty
.Name));
src\Framework\System\Windows\StyleHelper.cs (2)
479
if (StyleHelper.IsSetOnContainer(FrameworkElement.
NameProperty
, ref containerDependents, true))
481
throw new InvalidOperationException(SR.Get(SRID.CannotHavePropertyInTemplate, FrameworkElement.
NameProperty
.Name));
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Metadata\PropertyInspectorMetadata.cs (1)
53
MakeBasic(builder, typeof(Control), Control.
NameProperty
);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Resources\PropertyInspectorResources.cs (1)
48
FrameworkElement.
NameProperty
.Name);
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (1)
938
contentControlFactory.SetValue(ContentControl.
NameProperty
, DataGridHelper.dynamicContentControlName);