protected override void OnDialogClosed(bool positiveResult) { if (positiveResult) { _picker.ClearFocus(); SetValue(_picker.Value); } }