-
Notifications
You must be signed in to change notification settings - Fork 1
net472_PropertyGridHelpers.Attributes_LocalizedTextAttribute
dparvin edited this page Jul 5, 2025
·
14 revisions
Provides a base attribute class for attaching localized display text to properties or fields using a resource key.
[AttributeUsage(AttributeTargets.All)]
public abstract class LocalizedTextAttribute : Attribute| name | description |
|---|---|
| static Get(…) | Retrieves the LocalizedTextAttribute from the given type descriptor context, if available. |
| ResourceKey { get; } | Gets the resource key associated with this attribute. |
| GetLocalizedText(…) | Resolves and retrieves the localized text for this attribute using the provided target type's associated ResourcePathAttribute. |
- namespace PropertyGridHelpers.Attributes
- assembly PropertyGridHelpers
- LocalizedTextAttribute.cs