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