MaxValue


Summary

Gets or sets the maximum value of this Parameter property. It is used for validating user input.

Syntax

public Object MaxValue{ get; set; }

Example 1

//...
//The maximum value the user can set Periods is twenty
[Parameter(DefaultValue = 14, MaxValue = 20)] 
public int Periods { get; set; }
//...