IPropertyItemsTextPrefixProvider interface
namespace: Serenity.Abstractions assembly: Serenity.Net.Core
An interface implemented by type attributes whose classes have property items, e.g. a form, the columns of a grid or the options of something, to tell the prefix of the local text keys that the texts of their properties imply. The display name of a property then has the key prefix + PropertyName, its hint prefix + PropertyName + "_Hint" and so on, with the texts of the attributes as their defaults, see PropertyItemsLocalTextRegistration.
public interface IPropertyItemsTextPrefixProvider
Members
| name | description |
|---|---|
| GetPropertyItemsTextPrefix(…) | Gets the prefix of the local text keys of the property items of a type, which ends with a dot, e.g. Forms.Northwind.Customer., or null when the type has none. |