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