13 references to GetAttribute
System.Windows.Forms (9)
System\Windows\Forms\ActiveX\AxHost.AxPropertyDescriptor.cs (2)
37
_dispid = baseDescriptor.
GetAttribute
<DispIdAttribute>();
347
if (_baseDescriptor.
GetAttribute
<ComAliasNameAttribute>() is not null)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
2102
if (props[i].
GetAttribute
<ParenthesizePropertyNameAttribute>()?.NeedParenthesis ?? false)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiSelectRootGridEntry.PropertyMerger.cs (3)
144
bool match = pivotProperty.
GetAttribute
<MergablePropertyAttribute>()?.IsDefaultAttribute() ?? false;
160
if (property.
GetAttribute
<MergablePropertyAttribute>()?.IsDefaultAttribute() ?? false)
181
match = property.
GetAttribute
<MergablePropertyAttribute>()?.IsDefaultAttribute() ?? false;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (3)
49
=> PropertyDescriptor.
GetAttribute
<MergablePropertyAttribute>()?.IsDefaultAttribute() ?? true;
140
_parensAroundName = PropertyDescriptor.
GetAttribute
<ParenthesizePropertyNameAttribute>()?.NeedParenthesis ?? false;
608
var refresh = PropertyDescriptor.
GetAttribute
<RefreshPropertiesAttribute>();
System.Windows.Forms.Design (4)
System\ComponentModel\Design\Serialization\CodeDomLocalizationProvider.LanguageCultureInfoConverter.cs (1)
34
ExtenderProvidedPropertyAttribute? attr = context?.PropertyDescriptor?.
GetAttribute
<ExtenderProvidedPropertyAttribute>();
System\ComponentModel\Design\Serialization\PropertyMemberCodeDomSerializer.cs (3)
96
ExtenderProvidedPropertyAttribute? exAttr = propertyToSerialize.
GetAttribute
<ExtenderProvidedPropertyAttribute>();
156
ExtenderProvidedPropertyAttribute exAttr = property.
GetAttribute
<ExtenderProvidedPropertyAttribute>()!;
226
ExtenderProvidedPropertyAttribute exAttr = property.
GetAttribute
<ExtenderProvidedPropertyAttribute>()!;