Xceed Grid for WinForms v4.3 Documentation
GetNumber Method


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Viewers Namespace > NumericViewer Class : GetNumber Method
The data type of the number displayed by the viewer.
An object representing the value of the underlying cell.
A Xceed.Grid.CellTextFormatInfo which provides text formatting information.
The Xceed.Grid.GridElement associated with the value. The gridElement is usually a Xceed.Grid.Cell or Xceed.Grid.Column and can be a null reference (Nothing in Visual Basic).
Retrieves the number displayed by the viewer.
Syntax
'Declaration
 
Protected Overridable Function GetNumber( _
   ByVal dataType As Type, _
   ByVal value As Object, _
   ByVal formatInfo As CellTextFormatInfo, _
   ByVal gridElement As GridElement _
) As Object
'Usage
 
Dim instance As NumericViewer
Dim dataType As Type
Dim value As Object
Dim formatInfo As CellTextFormatInfo
Dim gridElement As GridElement
Dim value As Object
 
value = instance.GetNumber(dataType, value, formatInfo, gridElement)
protected virtual object GetNumber( 
   Type dataType,
   object value,
   CellTextFormatInfo formatInfo,
   GridElement gridElement
)

Parameters

dataType
The data type of the number displayed by the viewer.
value
An object representing the value of the underlying cell.
formatInfo
A Xceed.Grid.CellTextFormatInfo which provides text formatting information.
gridElement
The Xceed.Grid.GridElement associated with the value. The gridElement is usually a Xceed.Grid.Cell or Xceed.Grid.Column and can be a null reference (Nothing in Visual Basic).

Return Value

An object representing the number displayed by the viewer.
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

NumericViewer Class
NumericViewer Members