20 references to Com2PropertyDescriptorRefresh
System.Windows.Forms (20)
System\Windows\Forms\ComponentModel\COM2Interop\COM2Properties.cs (1)
136_properties[i].SetNeedsRefresh(Com2PropertyDescriptorRefresh.All, true);
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (19)
90SetNeedsRefresh(Com2PropertyDescriptorRefresh.BaseAttributes, true); 95SetNeedsRefresh(Com2PropertyDescriptorRefresh.ReadOnly, readOnly); 150if (!GetNeedsRefresh(Com2PropertyDescriptorRefresh.BaseAttributes)) 156SetNeedsRefresh(Com2PropertyDescriptorRefresh.BaseAttributes, false); 256SetNeedsRefresh(Com2PropertyDescriptorRefresh.Attributes, false); 273protected bool AttributesValid => !GetNeedsRefresh(Com2PropertyDescriptorRefresh.Attributes); 300SetNeedsRefresh(Com2PropertyDescriptorRefresh.TypeEditor, false); 303SetNeedsRefresh(Com2PropertyDescriptorRefresh.TypeConverter, false); 329if (_displayName is null || GetNeedsRefresh(Com2PropertyDescriptorRefresh.DisplayName)) 334SetNeedsRefresh(Com2PropertyDescriptorRefresh.DisplayName, false); 349if (!_baseReadOnly && GetNeedsRefresh(Com2PropertyDescriptorRefresh.ReadOnly)) 355SetNeedsRefresh(Com2PropertyDescriptorRefresh.ReadOnly, false); 383=> _converter is not null && !GetNeedsRefresh(Com2PropertyDescriptorRefresh.TypeConverter); 387=> _editor is not null && !GetNeedsRefresh(Com2PropertyDescriptorRefresh.TypeEditor); 499_refreshState |= Com2PropertyDescriptorRefresh.TypeConverterAttr; 538_refreshState |= Com2PropertyDescriptorRefresh.TypeEditorAttr; 584SetNeedsRefresh(Com2PropertyDescriptorRefresh.TypeConverter, false); 587SetNeedsRefresh(Com2PropertyDescriptorRefresh.TypeEditor, false); 693if ((_refreshState & Com2PropertyDescriptorRefresh.TypeConverterAttr) == 0 && PropertyType == typeof(Com2Variant))