Intersoft ClientUI Documentation
InvalidInputAction Property



Gets or sets a value determining the UXDomainUpDown behavior when a user sets a value not included in the domain.
Syntax
<CategoryAttribute("Common Properties")>
Public Property InvalidInputAction As InvalidInputAction
Dim instance As UXDomainUpDown
Dim value As InvalidInputAction
 
instance.InvalidInputAction = value
 
value = instance.InvalidInputAction
[CategoryAttribute("Common Properties")]
public InvalidInputAction InvalidInputAction {get; set;}
[CategoryAttribute("Common Properties")]
public:
property InvalidInputAction InvalidInputAction {
   InvalidInputAction get();
   void set (    InvalidInputAction value);
}
Remarks

By default, the InvalidInputAction property for this control is set to TextBoxCannotLostFocus. You can set the InvalidInputAction property to UseFallbackItem. When this value is set, the control will fall back the item to the default value in the case of invalid input value. You set the default fallback item through the FallBackItem property.

The following illustration shows the control with TextBoxCannotLostFocus mode.

Notice that there is an error message displayed, you also can change the error message in the ErrorMessage property.

The following illustration shows the control with UseFallbackItem mode.

Requirements

Target Platforms: 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

Reference

UXDomainUpDown Class
UXDomainUpDown Members

Concepts

UXDomainUpDown

Send Feedback