Table of Contents

Method SetTextAsDateTime

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

SetTextAsDateTime(DateTime)

Converts value to string and assigns Text property with the converted value.

public virtual void SetTextAsDateTime(DateTime value)

Parameters

value DateTime

Value.

Remarks

This method uses Converter, DefaultFormat and FormatProvider propertties. Depending on the values of these properties, different conversion methods are used.