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)
90
SetNeedsRefresh(
Com2PropertyDescriptorRefresh
.BaseAttributes, true);
95
SetNeedsRefresh(
Com2PropertyDescriptorRefresh
.ReadOnly, readOnly);
150
if (!GetNeedsRefresh(
Com2PropertyDescriptorRefresh
.BaseAttributes))
156
SetNeedsRefresh(
Com2PropertyDescriptorRefresh
.BaseAttributes, false);
256
SetNeedsRefresh(
Com2PropertyDescriptorRefresh
.Attributes, false);
273
protected bool AttributesValid => !GetNeedsRefresh(
Com2PropertyDescriptorRefresh
.Attributes);
300
SetNeedsRefresh(
Com2PropertyDescriptorRefresh
.TypeEditor, false);
303
SetNeedsRefresh(
Com2PropertyDescriptorRefresh
.TypeConverter, false);
329
if (_displayName is null || GetNeedsRefresh(
Com2PropertyDescriptorRefresh
.DisplayName))
334
SetNeedsRefresh(
Com2PropertyDescriptorRefresh
.DisplayName, false);
349
if (!_baseReadOnly && GetNeedsRefresh(
Com2PropertyDescriptorRefresh
.ReadOnly))
355
SetNeedsRefresh(
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;
584
SetNeedsRefresh(
Com2PropertyDescriptorRefresh
.TypeConverter, false);
587
SetNeedsRefresh(
Com2PropertyDescriptorRefresh
.TypeEditor, false);
693
if ((_refreshState &
Com2PropertyDescriptorRefresh
.TypeConverterAttr) == 0 && PropertyType == typeof(Com2Variant))