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