Skip to content

net472_PropertyGridHelpers.Attributes_LocalizedTextAttribute

dparvin edited this page Jul 5, 2025 · 14 revisions

LocalizedTextAttribute class

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

Public Members

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.

See Also

Clone this wiki locally