Intersoft ClientUI Documentation
InvalidInputAction Property
See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXInput Namespace > UXDomainUpDown Class : InvalidInputAction Property






Gets or sets a value determining the UXDomainUpDown behavior when a user sets a value not included in the domain.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property InvalidInputAction As InvalidInputAction
Visual Basic (Usage)Copy Code
Dim instance As UXDomainUpDown
Dim value As InvalidInputAction
 
instance.InvalidInputAction = value
 
value = instance.InvalidInputAction
C# 
[CategoryAttribute("Common Properties")]
public InvalidInputAction InvalidInputAction {get; set;}
Delphi 
public read-write property InvalidInputAction: InvalidInputAction; 
JScript 
CategoryAttribute("Common Properties")
public function get,set InvalidInputAction : InvalidInputAction
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property InvalidInputAction get_InvalidInputAction();
public: __property void set_InvalidInputAction( 
   InvalidInputAction value
);
C++/CLI 
[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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.