net472_PropertyGridHelpers.Converters_OnlySelectableTypeConverter_GetStandardValues - dparvin/PropertyGridHelpers GitHub Wiki
Returns a list of resource paths found in the current instance’s assembly, suitable for selection in a property grid editor or a dropdown.
public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
parameter | description |
---|---|
context | Provides contextual information, including the instance whose assembly will be inspected. |
A StandardValuesCollection containing the names of resources (without the assembly prefix and without the .resources
extension) that are embedded in the same assembly as the edited object. If no assembly is available in the context, an empty collection is returned.
This is used to present a list of available resource names (for example, localization resources or embedded files) that a user might select from in the property grid.
- class OnlySelectableTypeConverter
- namespace PropertyGridHelpers.Converters
- assembly PropertyGridHelpers