private object GetValueOfDateTimePicker() { if (!_picker.ValueOrNull.HasValue) return null; return _picker.ValueOrNull.Value; }