// Token: 0x06004788 RID: 18312 RVA: 0x00144E09 File Offset: 0x00143009
 internal override void OnInput(InputEventArgs e)
 {
     if (DataGridCheckBoxColumn.IsSpaceKeyDown(e))
     {
         base.BeginEdit(e, true);
     }
 }
        /// <summary>Called when a cell in the column enters editing mode.</summary>
        /// <param name="editingElement">The element that the column displays for a cell in editing mode.</param>
        /// <param name="editingEventArgs">Information about the user gesture that is causing a cell to enter editing mode.</param>
        /// <returns>The unedited value.</returns>
        // Token: 0x06004787 RID: 18311 RVA: 0x00144D98 File Offset: 0x00142F98
        protected override object PrepareCellForEdit(FrameworkElement editingElement, RoutedEventArgs editingEventArgs)
        {
            CheckBox checkBox = editingElement as CheckBox;

            if (checkBox != null)
            {
                checkBox.Focus();
                bool?isChecked = checkBox.IsChecked;
                if ((DataGridCheckBoxColumn.IsMouseLeftButtonDown(editingEventArgs) && DataGridCheckBoxColumn.IsMouseOver(checkBox, editingEventArgs)) || DataGridCheckBoxColumn.IsSpaceKeyDown(editingEventArgs))
                {
                    checkBox.IsChecked = new bool?(isChecked != true);
                }
                return(isChecked);
            }
            return(false);
        }