public UserSavePopup() { InitializeComponent(); if (CurrentUser == null) { CurrentUser = new UserViewModel() { UserType = UserType.Anroid } } ; DataContext = CurrentUser; ComboBoxHelper.BindEnum <UserType>(cbbUserTypes); }