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