Xceed Grid for WinForms v4.3 Documentation
DataType Property (WinNumericTextBox)


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > WinNumericTextBox Class : DataType Property
Gets or sets the datatype of the value entered in the WinNumericTextBox control.
Syntax
'Declaration
 
<CategoryAttribute("Data")>

<DescriptionAttribute("The datatype of the value entered in the WinNumericTextBox control.")>

<TypeConverterAttribute("Xceed.Editors.Design.NumericDataTypeConverter,Xceed.Editors.v2.6.Design,Version=2.6.20076.12375,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")>

<RefreshPropertiesAttribute(RefreshProperties.Repaint)>

Public Property DataType As Type
'Usage
 
Dim instance As WinNumericTextBox

Dim value As Type

 

instance.DataType = value

 

value = instance.DataType
[Category("Data")]

[Description("The datatype of the value entered in the WinNumericTextBox control.")]

[TypeConverter("Xceed.Editors.Design.NumericDataTypeConverter,Xceed.Editors.v2.6.Design,Version=2.6.20076.12375,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")]

[RefreshProperties(RefreshProperties.Repaint)]

public Type DataType {get; set;}

Property Value

A System.Type representing the datatype of the value entered in the WinNumericTextBox cotnrol.
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

WinNumericTextBox Class
WinNumericTextBox Members