NumberEditorAttribute Class

NumberEditorAttribute Class

Indicates that this property is a number and should be rendered as a number editor in the back office.

[AttributeUsage(AttributeTargets.Property)]
public sealed class NumberEditorAttribute: Attribute, IPropertyModelAttribute

Inheritance  Attribute NumberEditorAttribute

Implements  IPropertyModelAttribute

Properties

Name Description
Decimals Sets the maximum number of decimal places for non-integer types accepted for the input.

Methods

Name Description
Apply(PropertyDefinition)