24 references to EditableItems
PresentationFramework (24)
System\Windows\Controls\DataGrid.cs (24)
831
(IsAddingNewItem && item ==
EditableItems
.CurrentAddItem))
2139
bool placeholderAtBeginning = (
EditableItems
.NewItemPlaceholderPosition == NewItemPlaceholderPosition.AtBeginning);
2312
IEditableCollectionView editableItems =
EditableItems
;
2695
EditableItems
.Remove(itemToRemove);
2728
switch (
EditableItems
.NewItemPlaceholderPosition)
3485
if ((canUserAddRowsProperty && !dataGrid.
EditableItems
.CanAddNew) ||
3486
(!canUserAddRowsProperty && !dataGrid.
EditableItems
.CanRemove))
3586
newItem = (newItem != null) ? ani.AddNewItem(newItem) :
EditableItems
.AddNew();
3602
EditableItems
.EditItem(rowItem);
3624
EditableItems
.CommitEdit();
3628
EditableItems
.CommitNew();
3651
if (
EditableItems
.CanCancelEdit)
3653
EditableItems
.CancelEdit();
3658
EditableItems
.CommitEdit();
3663
object currentAddItem =
EditableItems
.CurrentAddItem;
3684
EditableItems
.CancelNew();
3706
bool placeholderAtBeginning = (
EditableItems
.NewItemPlaceholderPosition == NewItemPlaceholderPosition.AtBeginning);
3744
get { return
EditableItems
.IsAddingNew; }
3749
get { return
EditableItems
.IsEditingItem; }
3755
(IsAddingNewItem && (
EditableItems
.CurrentAddItem == item));
3766
return IsEditingRowItem && (
EditableItems
.CurrentEditItem == item);
3771
var editableItems =
EditableItems
;
3820
NewItemPlaceholderPosition position =
EditableItems
.NewItemPlaceholderPosition;
3873
IEditableCollectionView editableItems =
EditableItems
;