Version

MaxValueExclusive Property

Gets/sets the first value greater than the maximum value that can be entered in the cell. Default value is null (Nothing) meaning no maximum constraint. The object assigned to this property should be the same type as the column's DataType or compatible otherwise it won't be honored.
Syntax
'Declaration
 
Public Property MaxValueExclusive As Object
public object MaxValueExclusive {get; set;}
Example
This snippet demonstrates how to restrict the values in a column to an exclusive range, such as (0, 1).

Private Sub SetupGrid()
   ' Set the "quantity" column to only allow numbers greater than 0 and less than 1.
   '
   Me.ultraGrid1.DisplayLayout.Bands(0).Columns("quantity").MinValueExclusive = 0.0
   Me.ultraGrid1.DisplayLayout.Bands(0).Columns("quantity").MaxValueExclusive = 1.0
End Sub
private void SetupGrid()
{
	// Set the "quantity" column to only allow numbers greater than 0 and less than 1.
	//
	this.ultraGrid1.DisplayLayout.Bands[0].Columns["quantity"].MinValueExclusive = 0.0;
	this.ultraGrid1.DisplayLayout.Bands[0].Columns["quantity"].MaxValueExclusive = 1.0;
}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also