Version

ValueInput Class

An abstract base class that provides functionality for displaying or edit values.
Syntax
'Declaration
 
Public MustInherit Class ValueInput 
   Inherits System.Windows.Controls.Control
public abstract class ValueInput : System.Windows.Controls.Control 
Remarks

The ValueInput exposes Value and Text properties that return the current value and the text representation of that value respectively. The ValueToTextConverter is used to convert between the Value and Text.

The ValueInput supports being put into edit mode. When in edit mode, the Value of the control can be changed by the end user. The ValueConstraint can be set to a ValueConstraint instance to provide constraints such as minimum and maximum values that can be used to limit what is considered a valid value for the control. The ValueConstraint's Nullable property can be used to specify if the control will accept a null entry. The InvalidValueBehavior property determines how the control should behave when it is exiting edit mode and the current value is not valid.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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