YetaWF Documentation


LongValue Component

LongValue (Display)

Displays the specified value formatted as a long value.

Model Type: long?

[Caption("Memory Limit"), Description("The percentage of physical memory available to the application")]
[UIHint("LongValue"), ReadOnly]
public long EffectivePercentagePhysicalMemoryLimit { get; set; }

LongValue (Edit)

Allows entry of a long value.

Model Type: long?

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

[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("LongValue"), Range(1, 99999999), Required]
public long Days { get; set; }