Skip to content

PropertyItemsLocalTextRegistration class

namespace: Serenity.Localization   assemblySerenity.Net.Core

Contains initialization methods for adding local text keys implicitly defined by DisplayNameAttribute, TabAttribute, PlaceholderAttribute, HintAttribute, etc. attributes used in Form definitions.

public static class PropertyItemsLocalTextRegistration

Public Members

name description
static AddPropertyItemsTexts(…) Adds local text translations defined implicitly by DisplayNameAttribute, TabAttribute, PlaceholderAttribute, HintAttribute, etc. attributes used in Column/Form definitions.
static GetPropertyItemsTextPrefix(…) Gets the form/column local text key prefix for the given type.
static IsLocalTextKeyCandidate(…) Returns true if the text value can be a local text key that could be passed to the client side.

See Also