MoneyEdit
Here is an example that demonstrates the use of a MoneyEdit
component.
MoneyEdit (Extended Properties)
This demonstrates the most common properties that are availabe to set on the MoneyEdit
.
MoneyEdit Class
Parameters
Name | Type | Default | Description |
---|---|---|---|
ChildContent | RenderFragment? | Child content of the component | |
ColumnName | string | Column logical name to bind the editor to from the table record. | |
Description | string? | Description to be displayed in the tooltip. | |
Disabled | bool? | Should the editor be disabled. | |
DisplayLabelWhenAvailable | bool | True | Specifies whether to display a lable if available. |
DisplayTooltipWhenAvailable | bool | True | Specifies whether to display a tooltip if available. |
DisplayValidationErrorMessage | bool | True | Should a validation error message be displayed when the component fails validation? |
IsVisible | bool | True | Is the editor visible. |
Label | string? | Text to be displayed as a label for the editor. | |
Max | double? | Minimum allowed value. | |
Min | double? | Maximum allowed value. | |
Precision | int? | Precision | |
ReadOnly | bool? | Should the editor be read-only. | |
Required | bool? | Should the value be required. | |
Value | decimal? | Value of the column. |
Methods
Name | Parameters | Type | Description |
---|---|---|---|
GetValidationErrors | List<string> | Returns a collection of the current validation errors. |