14 references to NameProperty
PresentationFramework (14)
System\Windows\Controls\DataGrid.cs (1)
45
dataGridRowPresenterFactory.SetValue(FrameworkElement.
NameProperty
, ItemsPanelPartName);
System\Windows\Controls\ItemContainerGenerator.cs (2)
115
label = (string)d.GetValue(FrameworkElement.
NameProperty
);
1060
string name = (String)peer.GetValue(FrameworkElement.
NameProperty
);
System\Windows\FrameworkContentElement.cs (2)
719
if (dp == FrameworkElement.
NameProperty
&&
835
FrameworkElement.
NameProperty
.AddOwner(
System\Windows\FrameworkElement.cs (3)
2088
if (dp == FrameworkElement.
NameProperty
&&
3234
get { return (string) GetValue(
NameProperty
); }
3235
set { SetValue(
NameProperty
, value); }
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
2614
DependencyProperty dp = System.Windows.FrameworkElement.
NameProperty
;
System\Windows\Markup\KnownTypes.cs (1)
1788
return System.Windows.FrameworkElement.
NameProperty
;
System\Windows\Setter.cs (2)
81
if( property == FrameworkElement.
NameProperty
)
83
throw new InvalidOperationException(SR.Format(SR.CannotHavePropertyInStyle, FrameworkElement.
NameProperty
.Name));
System\Windows\StyleHelper.cs (2)
479
if (StyleHelper.IsSetOnContainer(FrameworkElement.
NameProperty
, ref containerDependents, true))
481
throw new InvalidOperationException(SR.Format(SR.CannotHavePropertyInTemplate, FrameworkElement.
NameProperty
.Name));