3 overrides of PropertyType
System.Windows.Forms (3)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\ArrayElementGridEntry.cs (1)
23
public override Type?
PropertyType
=> ParentGridEntry?.PropertyType?.GetElementType();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CategoryGridEntry.cs (1)
96
public override Type
PropertyType
=> typeof(void);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
184
public override Type?
PropertyType
=> PropertyDescriptor.PropertyType;
17 references to PropertyType
System.Windows.Forms (17)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\ArrayElementGridEntry.cs (1)
23
public override Type? PropertyType => ParentGridEntry?.
PropertyType
?.GetElementType();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (13)
124
protected virtual AttributeCollection Attributes => TypeDescriptor.GetAttributes(
PropertyType
!);
385
bool hasImmutableAttribute = TypeDescriptor.GetAttributes(
PropertyType
!)[typeof(ImmutableObjectAttribute)]!
432
if (!isImmutable && !(
PropertyType
?.IsValueType ?? false))
767
=> _typeConverter ??= TypeDescriptor.GetConverter((PropertyValue ??
PropertyType
)!);
776
if (Editor is null &&
PropertyType
is not null)
778
Editor = (UITypeEditor?)TypeDescriptor.GetEditor(
PropertyType
, typeof(UITypeEditor));
1133
&& entry.
PropertyType
is not null
1134
&& entry.
PropertyType
.Equals(
PropertyType
)
1251
=> $@"object = ({FullLabel}), property = ({PropertyLabel},{(
PropertyType
?? typeof(object)).AssemblyQualifiedName})
1261
Type? objectType =
PropertyType
;
1476
public override int GetHashCode() => HashCode.Combine(PropertyLabel,
PropertyType
, GetType());
2199
Type? type =
PropertyType
;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (1)
79
string.Format(SR.ExceptionCreatingObject, InstanceParentGridEntry?.
PropertyType
?.FullName, e),
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
740
Type? propertyType = ParentGridEntry.
PropertyType
;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
338
Type? createType = _gridView.SelectedGridEntry.
PropertyType
;