Hide

YetaWF Documentation

Display
Print

IntValue6 Component

IntValue6 (Display)

Displays the specified value formatted as an integer value. Should be used for up to 6 digits. If the specified value is null, nothing is rendered.

Model Type: int?

[Caption("Average Char. Width"), Description("The average character width, calculated using the current skin")]
[UIHint("IntValue4"), ReadOnly]
public int Width { get; set; }

IntValue6 (Edit)

Allows entry of an integer value. Should be used for up to 6 digits.

Model Type: int?

The RangeAttribute can be used to define the lowest and highest allowable values.

AdditionalMetadata Attributes

NameTypeDefaultDescription
Stepint1The increment/decrement used when clicking on the up/down arrows of the edit control.
NoEntrystringnullThe specified string is displayed as long as there is no value entered.
[Caption("Days"), Description("The number of days a backup is saved - once a backup has been saved for the specified number of days, it is deleted")]
 [UIHint("IntValue6"), Range(1, 999999), Required]
 public int Days { get; set; }