1 write to propertyInfo
System.Windows.Forms (1)
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
458propertyInfo = propInfo;
55 references to propertyInfo
System.Windows.Forms (55)
winforms\Managed\System\WinForms\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (2)
62if (propertyInfo.Name != null && propertyInfo.Name.Equals(props[i].Name)) {
winforms\Managed\System\WinForms\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (7)
187((PropertyDescriptorGridEntry)ge).propertyInfo.Attributes.Contains(NotifyParentPropertyAttribute.Yes)) { 210PropertyDescriptor pd = ((PropertyDescriptorGridEntry)ge).propertyInfo;; 223changeService.OnComponentChanging(owner, ((PropertyDescriptorGridEntry)ge).propertyInfo); 224changeService.OnComponentChanged(owner, ((PropertyDescriptorGridEntry)ge).propertyInfo, null, null); 233obj = ((ICustomTypeDescriptor)obj).GetPropertyOwner(propertyInfo); 278Debug.Assert(propertyInfo is MergePropertyDescriptor, "Did not get a MergePropertyDescriptor!!!"); 281MergePropertyDescriptor mpd = propertyInfo as MergePropertyDescriptor;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (46)
87MergablePropertyAttribute mpa = (MergablePropertyAttribute)propertyInfo.Attributes[typeof(MergablePropertyAttribute)]; 94return propertyInfo.Attributes; 111HelpKeywordAttribute helpAttribute = (HelpKeywordAttribute)propertyInfo.Attributes[typeof(HelpKeywordAttribute)]; 137Type componentType = propertyInfo.ComponentType; 179helpKeyword = typeName + "." + propertyInfo.Name; 207return propertyInfo.IsReadOnly; 226if (((ParenthesizePropertyNameAttribute)propertyInfo.Attributes[typeof(ParenthesizePropertyNameAttribute)]).NeedParenthesis) { 240string category = propertyInfo.Category; 254return propertyInfo; 261return propertyInfo.Description; 267string label = propertyInfo.DisplayName; 281if (propertyInfo != null) { 282return propertyInfo.Name; 292return propertyInfo.PropertyType; 357if (propertyInfo.IsReadOnly && !readOnlyVerified && GetFlagSet(GridEntry.FLAG_READONLY_EDITABLE)) { 388converter = propertyInfo.Converter; 405editor = (UITypeEditor)propertyInfo.GetEditor(typeof(System.Drawing.Design.UITypeEditor)); 420RefreshPropertiesAttribute refreshAttr = (RefreshPropertiesAttribute)propertyInfo.Attributes[typeof(RefreshPropertiesAttribute)]; 442if (propertyInfo == null) { 447target = ((ICustomTypeDescriptor)target).GetPropertyOwner(propertyInfo); 450return propertyInfo.GetValue(target); 460this.isSerializeContentsProp = (propertyInfo.SerializationVisibility == DesignerSerializationVisibility.Content); 478((PropertyDescriptorGridEntry)ge).propertyInfo.Attributes.Contains(NotifyParentPropertyAttribute.Yes)) { 504changeService.OnComponentChanging(owner, ((PropertyDescriptorGridEntry)ge).propertyInfo); 505changeService.OnComponentChanged(owner, ((PropertyDescriptorGridEntry)ge).propertyInfo, null, null); 519obj = ((ICustomTypeDescriptor)obj).GetPropertyOwner(propertyInfo); 535return propertyInfo.CanResetValue(obj) || (pvUIItems != null && pvUIItems.Length > 0); 549return propertyInfo.ShouldSerializeValue(obj); 568EventDescriptor descriptor = eventBindings.GetEvent(propertyInfo); 590pvUIItems[i].InvokeHandler(this, propertyInfo, pvUIItems[i]); 607pvUIItems = propValSvc.GetPropertyUIValueItems(this, propertyInfo); 651string text = (undoText == null ? SR.GetString(SR.PropertyGridSetValue, propertyInfo.Name) : undoText); 668ComponentChangeService.OnComponentChanging(obj, propertyInfo); 690RefreshPropertiesAttribute refreshAttr = (RefreshPropertiesAttribute)propertyInfo.Attributes[typeof(RefreshPropertiesAttribute)]; 714eventDesc = eventBindings.GetEvent(propertyInfo); 727if (propertyInfo is MergePropertyDescriptor && obj is Array) 735eventDesc = TypeDescriptor.GetEvents(eventObj)[propertyInfo.Name]; 744propertyInfo.ResetValue(obj); 761ComponentChangeService.OnComponentChanged(obj, propertyInfo, null, objVal); 815if (propertyInfo == null) { 828target = ((ICustomTypeDescriptor)target).GetPropertyOwner(propertyInfo); 843propertyInfo.SetValue(target, value); 890if (component == null && propertyInfo is MergePropertyDescriptor) { 904if (propertyInfo.IsReadOnly) { 913eventdesc = eventBindings.GetEvent(propertyInfo); 963propertyInfo.SetValue(obj, newHandler);