net472_PropertyGridHelpers.PropertyDescriptors_LocalizedPropertyDescriptor - dparvin/PropertyGridHelpers GitHub Wiki

LocalizedPropertyDescriptor class

A specialized PropertyDescriptor that supports localizing the category, description, and display name of a property based on resource attributes.

public class LocalizedPropertyDescriptor : PropertyDescriptor

Public Members

name description
LocalizedPropertyDescriptor(…) Initializes a new instance of the LocalizedPropertyDescriptor class.
override Category { get; } Gets the localized category name for this property.
override ComponentType { get; }
override Description { get; } Gets the localized description for this property.
override DisplayName { get; } Gets the localized display name for this property.
override IsReadOnly { get; }
override PropertyType { get; }
override CanResetValue(…)
override GetValue(…)
override ResetValue(…)
override SetValue(…)
override ShouldSerializeValue(…)

Remarks

This class is intended to wrap a standard property descriptor and provide localized versions of its metadata (category, description, display name) using associated LocalizedTextAttribute-derived attributes. At runtime, it retrieves localized strings from the appropriate resource files configured through the ResourcePathAttribute.

See Also

⚠️ **GitHub.com Fallback** ⚠️