Skip to content

ValidationRuleAttribute.DefaultTextKey property

Gets the local text key of the message when neither a TextKey nor a ErrorMessage is given, by default Validation.Invalid.

protected virtual string DefaultTextKey { get; }

See Also