Displays the model formatted as a decimal number with 2 fractional digits. If the model is null, nothing is rendered.
Model Type: decimal?
[Category("General"), Caption("Sales Tax - Rate"), Description("The sales tax rate (in percent) collected on purchases")] [UIHint("Decimal"), ReadOnly] public decimal SalesTaxRate { get; set; }
Allows entry of a decimal number with 2 fractional digits.
Model Type: decimal?
The RangeAttribute can be used to define the lowest and highest allowable values.
Name | Type | Default | Description |
---|---|---|---|
Step | double | 1.0 | The increment/decrement used when clicking on the up/down arrows of the edit control. |
Plain | bool | false | Defines whether the number is shown using the defined locale. |
Name | Type | Description |
---|---|---|
model__PlaceHolder | string | Defines the placeholder text shown when control contents are empty. |
[Category("General"), Caption("Sales Tax - Rate"), Description("The sales tax rate (in percent) collected on purchases")] [UIHint("Decimal"), Range(0.0, 100.0), Required] public decimal SalesTaxRate { get; set; }
Last Updated 04/24/2022 - (email)
© 2023 - Softel vdm, Inc. - YetaWF.com