ComboBoxValidationRole class properties

AllowFirst property

Gets or sets a flag indicating whether the first item is a valid selection.

Syntax

public bool AllowFirst { get; set; }

Property Value

Type:                    System.Boolean

Default value:   false

 

AllowNull property

Gets or sets a flag indicating whether it is valid to select no item.

Syntax

public bool AllowNull { get; set; }

Property Value

Type:                    System.Boolean

Default value:   false