-
Notifications
You must be signed in to change notification settings - Fork 1
net472_PropertyGridHelpers.Attributes_DynamicPathSourceAttribute_Get
dparvin edited this page Jan 11, 2026
·
2 revisions
Resolves the most appropriate DynamicPathSourceAttribute for the given context and usage.
public static DynamicPathSourceAttribute Get(ITypeDescriptorContext context,
ResourceUsage resourceUsage = ResourceUsage.All)| parameter | description |
|---|---|
| context | The context containing property and instance metadata. |
| resourceUsage | The intended type of resource (e.g., strings, images) to retrieve the matching attribute. |
The best-matching DynamicPathSourceAttribute, or null if none found.
| exception | condition |
|---|---|
| ArgumentException | Thrown if resourceUsage is None. |
- enum ResourceUsage
- class DynamicPathSourceAttribute
- namespace PropertyGridHelpers.Attributes
- assembly PropertyGridHelpers