'Declaration Protected Overridable Function GetDate( _ ByVal value As Object, _ ByVal formatInfo As CellTextFormatInfo, _ ByVal gridElement As GridElement _ ) As Date
'Usage Dim instance As DateViewer Dim value As Object Dim formatInfo As CellTextFormatInfo Dim gridElement As GridElement Dim value As Date value = instance.GetDate(value, formatInfo, gridElement)
protected virtual DateTime GetDate( object value, CellTextFormatInfo formatInfo, GridElement gridElement )
Parameters
- 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
A System.DateTime value representing the date displayed by the viewer.