C# Class ComponentFactory.Krypton.Toolkit.DateTimeNullableConverter

Add DBNull/Null conversion for date time types.
Inheritance: System.ComponentModel.DateTimeConverter
Mostra file Open project: ComponentFactory/Krypton

Public Methods

Method Description
ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object

Converts the given object to the type of this converter, using the specified context and culture information.

DateTimeNullableConverter ( ) : System

Initialize a new instance of the DateTimeNullableConverter class.

Method Details

ConvertFrom() public method

Converts the given object to the type of this converter, using the specified context and culture information.
public ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object
context ITypeDescriptorContext An ITypeDescriptorContext that provides a format context.
culture System.Globalization.CultureInfo The CultureInfo to use as the current culture.
value object The Object to convert.
return object

DateTimeNullableConverter() public method

Initialize a new instance of the DateTimeNullableConverter class.
public DateTimeNullableConverter ( ) : System
return System