public static DateTime? ToDateTime(this ITextControl control) { return control.Text.ToDateTime(); } public static Guid? ToGuid(this ITextControl control)