Version

ValueType Property (ValueEditor)

Gets or sets the type of values that this editor manipulates.
Syntax
'Declaration
 
Public Property ValueType As Type
public Type ValueType {get; set;}
Remarks

ValueType specifies the type of values that this editor manipulates. The Value property will return objects of this type. Also the user input will be validated accordingly as well. That is when the user enters some text, the text will be parsed into an object of this type. If parsing fails then the input is considered invalid. If parsing succeeds, the Value property is updated with the parsed value.

You can use the IsValueValid property to find out if the current input is valid. For the input to be considered valid, the editor must be able to parse the input text into an object of ValueType and it must satisfy any constraints specified via this ValueConstraint property.

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