169 references to Name
PresentationCore (22)
Core\CSharp\System\Windows\Generated\ContentElement.cs (4)
85
throw new ArgumentException(SR.Get(SRID.Animation_DependencyPropertyIsNotAnimatable, dp.
Name
, this.GetType()), "dp");
93
throw new ArgumentException(SR.Get(SRID.Animation_AnimationTimelineTypeMismatch, clock.Timeline.GetType(), dp.
Name
, dp.PropertyType), "clock");
157
throw new ArgumentException(SR.Get(SRID.Animation_DependencyPropertyIsNotAnimatable, dp.
Name
, this.GetType()), "dp");
164
throw new ArgumentException(SR.Get(SRID.Animation_AnimationTimelineTypeMismatch, animation.GetType(), dp.
Name
, dp.PropertyType), "animation");
Core\CSharp\System\Windows\Generated\UIElement.cs (4)
85
throw new ArgumentException(SR.Get(SRID.Animation_DependencyPropertyIsNotAnimatable, dp.
Name
, this.GetType()), "dp");
93
throw new ArgumentException(SR.Get(SRID.Animation_AnimationTimelineTypeMismatch, clock.Timeline.GetType(), dp.
Name
, dp.PropertyType), "clock");
157
throw new ArgumentException(SR.Get(SRID.Animation_DependencyPropertyIsNotAnimatable, dp.
Name
, this.GetType()), "dp");
164
throw new ArgumentException(SR.Get(SRID.Animation_AnimationTimelineTypeMismatch, animation.GetType(), dp.
Name
, dp.PropertyType), "animation");
Core\CSharp\System\Windows\Media\Animation\AnimationStorage.cs (4)
347
_dependencyProperty.
Name
,
497
_dependencyProperty.
Name
,
997
dp.
Name
,
1023
dp.
Name
,
Core\CSharp\System\Windows\Media\Animation\Generated\Animatable.cs (4)
92
throw new ArgumentException(SR.Get(SRID.Animation_DependencyPropertyIsNotAnimatable, dp.
Name
, this.GetType()), "dp");
100
throw new ArgumentException(SR.Get(SRID.Animation_AnimationTimelineTypeMismatch, clock.Timeline.GetType(), dp.
Name
, dp.PropertyType), "clock");
164
throw new ArgumentException(SR.Get(SRID.Animation_DependencyPropertyIsNotAnimatable, dp.
Name
, this.GetType()), "dp");
171
throw new ArgumentException(SR.Get(SRID.Animation_AnimationTimelineTypeMismatch, animation.GetType(), dp.
Name
, dp.PropertyType), "animation");
Core\CSharp\System\Windows\Media\ImageSourceConverter.cs (2)
188
if (ippf != null && dp != null && ippf.CanProvidePropertyFallback(dp.
Name
))
190
return ippf.ProvidePropertyFallback(dp.
Name
, e);
Core\CSharp\System\Windows\Media3D\Generated\Visual3D.cs (4)
92
throw new ArgumentException(SR.Get(SRID.Animation_DependencyPropertyIsNotAnimatable, dp.
Name
, this.GetType()), "dp");
100
throw new ArgumentException(SR.Get(SRID.Animation_AnimationTimelineTypeMismatch, clock.Timeline.GetType(), dp.
Name
, dp.PropertyType), "clock");
164
throw new ArgumentException(SR.Get(SRID.Animation_DependencyPropertyIsNotAnimatable, dp.
Name
, this.GetType()), "dp");
171
throw new ArgumentException(SR.Get(SRID.Animation_AnimationTimelineTypeMismatch, animation.GetType(), dp.
Name
, dp.PropertyType), "animation");
PresentationFramework (102)
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (2)
130
return (dp != null) ? dp.
Name
:
1633
throw new InvalidOperationException(SR.Get(SRID.CannotWriteToReadOnly, item.GetType(), dp.
Name
));
src\Framework\MS\Internal\DataStreams.cs (1)
179
subStreams.Add(new SubStream(localValueEntry.Property.
Name
, bytes));
src\Framework\MS\Internal\TraceData.cs (2)
237
traceBuilder.AppendFormat("target property is '{0}' (type '{1}')", targetProperty.
Name
, targetProperty.PropertyType.Name);
291
return Format("{0}({1})", dp.GetType().Name, dp.
Name
);
src\Framework\System\Windows\Condition.cs (2)
56
throw new ArgumentException(SR.Get(SRID.InvalidPropertyValue, conditionValue, conditionProperty.
Name
));
206
throw new InvalidOperationException(SR.Get(SRID.InvalidPropertyValue, _value, _property.
Name
));
src\Framework\System\Windows\Controls\DataGridCell.cs (1)
284
column.RefreshCellContent(this, e.Property.
Name
);
src\Framework\System\Windows\Controls\DataGridColumn.cs (1)
911
((DataGridColumn)d).NotifyPropertyChanged(e.Property.
Name
);
src\Framework\System\Windows\Controls\DatePicker.cs (1)
1087
Binding binding = new Binding(property.
Name
);
src\Framework\System\Windows\Controls\GridViewColumn.cs (7)
125
c.OnPropertyChanged(HeaderProperty.
Name
);
156
c.OnPropertyChanged(HeaderContainerStyleProperty.
Name
);
189
c.OnPropertyChanged(HeaderTemplateProperty.
Name
);
227
c.OnPropertyChanged(HeaderTemplateSelectorProperty.
Name
);
338
c.OnPropertyChanged(CellTemplateProperty.
Name
);
370
c.OnPropertyChanged(CellTemplateSelectorProperty.
Name
);
410
c.OnPropertyChanged(WidthProperty.
Name
);
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (3)
648
if (GridViewColumn.WidthProperty.
Name
.Equals(propertyName)
653
else if (GridViewColumn.HeaderProperty.
Name
.Equals(propertyName))
1694
if ((dp != null) && dpName.Equals(dp.
Name
))
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (3)
306
if (GridViewColumn.WidthProperty.
Name
.Equals(propertyName))
333
if (GridViewColumn.CellTemplateProperty.
Name
.Equals(propertyName))
346
else if (GridViewColumn.CellTemplateSelectorProperty.
Name
.Equals(propertyName))
src\Framework\System\Windows\Data\BindingExpression.cs (2)
412
throw new ArgumentException(SR.Get(SRID.PropertyNotBindable, dp.
Name
), "dp");
2641
dp.
Name
));
src\Framework\System\Windows\Data\BindingExpressionBase.cs (5)
951
target.GetType().FullName, dp.
Name
, AvTrace.GetHashCodeHelper(target)));
1285
TraceData.Trace(TraceEventType.Critical, TraceData.RequiresExplicitCulture, TargetProperty.
Name
, this);
1288
throw new InvalidOperationException(SR.Get(SRID.RequiresExplicitCulture, TargetProperty.
Name
));
2139
dp.
Name
,
2165
dp.
Name
,
src\Framework\System\Windows\Data\BindingGroup.cs (1)
585
string name = (property != null) ? property.
Name
: "(null)";
src\Framework\System\Windows\Data\MultiBindingExpression.cs (2)
175
throw new ArgumentException(SR.Get(SRID.PropertyNotBindable, dp.
Name
), "dp");
1031
dp.
Name
));
src\Framework\System\Windows\Data\PriorityBindingExpression.cs (2)
158
throw new ArgumentException(SR.Get(SRID.PropertyNotBindable, dp.
Name
), "dp");
587
dp.
Name
));
src\Framework\System\Windows\Documents\TextContainer.cs (1)
309
if (property.Property.
Name
== "CachedSource")
src\Framework\System\windows\Documents\TextEditorCharacters.cs (1)
95
Invariant.Assert(false, "The property '" + formattingProperty.
Name
+ "' is unknown to TextEditor");
src\Framework\System\Windows\Documents\TextRange.cs (4)
788
throw new ArgumentException(SR.Get(SRID.TextEditorPropertyIsNotApplicableForTextFormatting, formattingProperty.
Name
));
805
throw new ArgumentException(SR.Get(SRID.TextEditorTypeOfParameterIsNotAppropriateForFormattingProperty, value == null ? "null" : value.GetType().Name, formattingProperty.
Name
), "value");
821
throw new ArgumentException(SR.Get(SRID.TextRange_PropertyCannotBeIncrementedOrDecremented, formattingProperty.
Name
), "propertyValueAction");
860
throw new ArgumentException(SR.Get(SRID.TextEditorPropertyIsNotApplicableForTextFormatting, formattingProperty.
Name
));
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (11)
760
propertyName = property.OwnerType == typeof(Typography) ? "Typography." + property.
Name
: property.
Name
;
950
xmlWriter.WriteAttributeString(property.
Name
, stringValue);
1120
if (DependencyProperty.FromName(property.
Name
, elementType) == property)
1125
propertyName = elementType.Name + "." + property.
Name
;
1129
propertyName = property.
Name
;
1135
propertyName = property.OwnerType.Name + "." + property.
Name
;
1161
xmlWriter.WriteAttributeString(property.
Name
, stringValue);
1218
xmlWriter.WriteStartElement(typeof(Image).Name + "." + Image.SourceProperty.
Name
);
1220
xmlWriter.WriteAttributeString(System.Windows.Media.Imaging.BitmapImage.UriSourceProperty.
Name
, imageSource);
1221
xmlWriter.WriteAttributeString(System.Windows.Media.Imaging.BitmapImage.CacheOptionProperty.
Name
, "OnLoad");
src\Framework\System\Windows\FrameworkContentElement.cs (2)
607
string TypeAndName = "[" + GetType().Name + "]" + dp.
Name
;
720
if (dp != null && dp.OwnerType == typeof(PresentationSource) && dp.
Name
== "RootSource")
src\Framework\System\Windows\FrameworkElement.cs (2)
2004
string TypeAndName = String.Format(CultureInfo.InvariantCulture, "[{0}]{1}({2})",GetType().Name,dp.
Name
,base.GetHashCode());
2082
if (dp != null && dp.OwnerType == typeof(PresentationSource) && dp.
Name
== "RootSource")
src\Framework\System\Windows\FrameworkElementFactory.cs (2)
227
throw new ArgumentException(SR.Get(SRID.InvalidPropertyValue, value, dp.
Name
));
241
throw new ArgumentException(SR.Get(SRID.ReadOnlyPropertyNotAllowed, dp.
Name
, GetType().Name));
src\Framework\System\Windows\FrameworkTemplate.cs (1)
853
throw new ArgumentException(SR.Get(SRID.InvalidPropertyValue, value, dependencyProperty.
Name
));
src\Framework\System\Windows\Markup\Baml2006\WpfXamlMember.cs (2)
22
: base(dp.
Name
,
48
: base(dp.
Name
, getter, setter, schemaContext)
src\Framework\System\Windows\Markup\BamlMapTable.cs (1)
681
return dp.
Name
;
src\Framework\System\Windows\Markup\BamlReader.cs (3)
1065
info.Value = declaringType.Name + "." + _propertyDP.
Name
;
1086
propertyName = _propertyDP.
Name
;
2414
propName = dp.
Name
;
src\Framework\System\Windows\Markup\BamlRecordReader.cs (7)
2567
propertyDefinition.DependencyProperty.
Name
,
2579
propertyDefinition.DependencyProperty.
Name
,
3561
attribInfo.DP.
Name
,
5004
dp.
Name
,
5015
dp.
Name
,
5380
type.Name, attribInfo.DP.
Name
);
5930
return this.DependencyProperty.
Name
;
src\Framework\System\Windows\Markup\BamlRecords.cs (1)
5084
_name = _dp.
Name
;
src\Framework\System\Windows\Markup\BamlWriter.cs (3)
373
_dpProperty.
Name
,
384
propNode.MemberName = _dpProperty.
Name
;
392
propNode.ValuePropertyName = _dpProperty.
Name
;
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
227
string propertyName = dpd.DependencyProperty.
Name
;
src\Framework\System\Windows\Markup\Primitives\FrameworkElementFactoryMarkupObject.cs (2)
146
if (DependencyProperty.FromName(_propertyValue.Property.
Name
, _item.ObjectType) == _propertyValue.Property)
183
get { return _propertyValue.Property.
Name
; }
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (3)
573
_writer.WriteAttributeString(scope.GetPrefixOf(xamlUri), dependencyProperty.
Name
, xamlUri, property.StringValue);
583
string localName = dependencyProperty.OwnerType.Name + "." + dependencyProperty.
Name
;
718
WritePropertyStart(scope.GetPrefixOf(dpUri), property.DependencyProperty.OwnerType.Name + "." + property.DependencyProperty.
Name
, dpUri);
src\Framework\System\Windows\Markup\SetterTriggerConditionValueConverter.cs (2)
123
schemaContext.GetXamlType(property.OwnerType).GetMember(property.
Name
);
126
schemaContext.GetXamlType(property.OwnerType).GetAttachableMember(property.
Name
);
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (1)
2183
return dp.
Name
;
src\Framework\System\Windows\Media\Animation\Storyboard.cs (4)
756
throw new InvalidOperationException(SR.Get(SRID.Storyboard_PropertyPathSealedCheckFailed, intermediateDP.
Name
, path.Path, intermediateDO));
761
throw new InvalidOperationException(SR.Get(SRID.Storyboard_PropertyPathIncludesNonAnimatableProperty, path.Path, intermediateDP.
Name
));
773
return ((DependencyProperty)propertyAccessor).
Name
;
797
throw new InvalidOperationException(SR.Get(SRID.Storyboard_AnimationMismatch, animationClock.Timeline.GetType(), targetProperty.
Name
, targetProperty.PropertyType));
src\Framework\System\Windows\PropertyPath.cs (1)
953
return dp.
Name
;
src\Framework\System\Windows\PropertyPathConverter.cs (1)
230
name = dp.
Name
;
src\Framework\System\Windows\Setter.cs (3)
81
throw new ArgumentException(SR.Get(SRID.ReadOnlyPropertyNotAllowed, property.
Name
, GetType().Name));
85
throw new InvalidOperationException(SR.Get(SRID.CannotHavePropertyInStyle, FrameworkElement.NameProperty.
Name
));
132
throw new ArgumentException(SR.Get(SRID.InvalidSetterValue, value, dp.OwnerType, dp.
Name
));
src\Framework\System\Windows\StyleHelper.cs (5)
453
throw new InvalidOperationException(SR.Get(SRID.CannotHavePropertyInTemplate, Control.TemplateProperty.
Name
));
460
throw new InvalidOperationException(SR.Get(SRID.CannotHavePropertyInTemplate, FrameworkElement.StyleProperty.
Name
));
467
throw new InvalidOperationException(SR.Get(SRID.CannotHavePropertyInTemplate, FrameworkElement.DefaultStyleKeyProperty.
Name
));
474
throw new InvalidOperationException(SR.Get(SRID.CannotHavePropertyInTemplate, FrameworkElement.OverridesDefaultStyleProperty.
Name
));
481
throw new InvalidOperationException(SR.Get(SRID.CannotHavePropertyInTemplate, FrameworkElement.NameProperty.
Name
));
src\Framework\System\Windows\TemplateContent.cs (1)
688
if (sharedValue.Value.Property.
Name
== "ContentSource")
src\Framework\System\Windows\Trigger.cs (1)
205
throw new InvalidOperationException(SR.Get(SRID.InvalidPropertyValue, _value, _property.
Name
));
src\Framework\System\Windows\TriggerBase.cs (1)
252
throw new InvalidOperationException(SR.Get(SRID.PropertyTriggerCycleDetected, source.
Name
));
System.Activities.Core.Presentation (1)
System\Activities\Presentation\DynamicArgumentDesigner.xaml.cs (1)
850
this.PropertyChanged(this, new PropertyChangedEventArgs(e.Property.
Name
));
System.Activities.Presentation (13)
System.Activities.Presentation\System\Activities\Presentation\Annotations\DockedAnnotationView.xaml.cs (2)
51
if (e.Property.
Name
== "IsMouseOver" || e.Property.
Name
== "IsKeyboardFocusWithin")
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\MutableAttributeTable.cs (2)
114
AddAttributes(GetMemberList(ownerType, dp.
Name
), attributes);
266
return GetCustomAttributes(ownerType, dp.
Name
);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (1)
38
private static string _textBlockTextPropertyName = System.Windows.Controls.TextBlock.TextProperty.
Name
;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (1)
339
if (ParentModelPropertyEntry.PropertyName.Equals(FrameworkElement.FlowDirectionProperty.
Name
))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelUtilities.cs (1)
77
property.Name.Equals(System.Windows.Controls.TextBlock.TextProperty.
Name
)))
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\DesignerView.xaml.cs (3)
169
object expandAllState = viewStateService.RetrieveViewState(modelTreeManager.Root, DesignerView.ShouldExpandAllProperty.
Name
);
176
object collapseAllState = viewStateService.RetrieveViewState(modelTreeManager.Root, DesignerView.ShouldCollapseAllProperty.
Name
);
259
viewStateService.StoreViewState(modelTreeManager.Root, e.Property.
Name
, e.NewValue);
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (1)
426
switch (e.Property.
Name
)
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
149
switch (e.Property.
Name
)
WindowsBase (31)
Base\MS\Internal\ComponentModel\DependencyObjectPropertyDescriptor.cs (5)
40
: base(dp.
Name
, null)
60
: base(string.Concat(dp.OwnerType.Name, ".", dp.
Name
), null)
408
string methodName = string.Concat("Get", dp.
Name
);
575
string methodName = string.Concat("Set", dp.
Name
);
629
string methodName = string.Concat(methodPrefix, _dp.
Name
);
Base\MS\Internal\ComponentModel\DependencyPropertyKind.cs (4)
75
_dp.OwnerType.GetProperty(_dp.
Name
, _dp.PropertyType) == null)
111
if (_dp.OwnerType == _targetType || _dp.OwnerType.IsAssignableFrom(_targetType) || DependencyProperty.FromName(_dp.
Name
, _targetType) != _dp)
144
if (DependencyProperty.FromName(_dp.
Name
, _targetType) == _dp)
146
if (_targetType.GetProperty(_dp.
Name
, _dp.PropertyType) != null)
Base\System\ComponentModel\DependencyPropertyDescriptor.cs (5)
143
if (ownerType.GetProperty(dependencyProperty.
Name
) != null)
159
dpd = new DependencyPropertyDescriptor(null, dependencyProperty.
Name
, targetType, dependencyProperty, false);
169
if (ownerType.GetMethod("Get" + dependencyProperty.
Name
) == null &&
170
ownerType.GetMethod("Set" + dependencyProperty.
Name
) == null)
227
dpd = new DependencyPropertyDescriptor(null, dependencyProperty.
Name
, targetType, dependencyProperty, false);
Base\System\Windows\DependencyObject.cs (6)
336
throw new InvalidOperationException(SR.Get(SRID.InvalidPropertyValue, value, dp.
Name
));
389
throw new InvalidOperationException(SR.Get(SRID.InvalidPropertyValue, value, dp.
Name
));
608
throw new InvalidOperationException(SR.Get(SRID.ReadOnlyChangeNotAllowed, dp.
Name
));
711
throw new ArgumentException(SR.Get(SRID.InvalidPropertyValue, value, dp.
Name
));
1738
throw new ArgumentException(SR.Get(SRID.InvalidPropertyValue, coercedValue, dp.
Name
));
1827
throw new InvalidOperationException(SR.Get(SRID.InvalidPropertyValue, value, dp.
Name
));
Base\System\Windows\DependencyProperty.cs (7)
389
ValidateDefaultValueCommon(defaultValue, PropertyType,
Name
, ValidateValueCallback, false);
494
ValidateMetadataDefaultValue( typeMetadata, PropertyType,
Name
, ValidateValueCallback );
529
throw new InvalidOperationException(SR.Get(SRID.ReadOnlyOverrideNotAllowed,
Name
));
559
throw new ArgumentException(SR.Get(SRID.ReadOnlyOverrideKeyNotAuthorized,
Name
));
791
FromNameKey key = new FromNameKey(
Name
, ownerType);
797
throw new ArgumentException(SR.Get(SRID.PropertyAlreadyRegistered,
Name
, ownerType.Name));
1194
throw new InvalidOperationException(SR.Get(SRID.ReadOnlyDesignerCoersionNotAllowed,
Name
));
Base\System\Windows\DependencyPropertyValueSerializer.cs (1)
41
return typeSerializer.ConvertToString(property.OwnerType, context) + "." + property.
Name
;
Base\System\Windows\Freezable.cs (1)
2086
property.
Name
== "Visual"
Base\System\Windows\Markup\TypeConverterHelper.cs (2)
63
dp.
Name
,
74
"Get" + dp.
Name
,