File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -154,8 +154,7 @@ To display a spinner during delayed operations initiated from a ContextMenu in a
154154 MenuItems = new List<MenuItem>()
155155 {
156156 new MenuItem(){ Text = "Select", Icon = SvgIcon.CheckboxChecked, CommandName="ToggleSelect" },
157- new MenuItem(){ Text = "Edit", Icon = SvgIcon.Pencil, CommandName="BeginEdit" },
158- new MenuItem(){ Text = "Delete", Icon = SvgIcon.Trash, Action = DeleteItem }
157+ new MenuItem(){ Text = "Edit", Icon = SvgIcon.Pencil, CommandName="BeginEdit" }
159158 };
160159
161160 GridData = new ObservableCollection<SampleData>();
@@ -180,13 +179,6 @@ To display a spinner during delayed operations initiated from a ContextMenu in a
180179 GridData.Insert(0, argsItem);
181180 }
182181
183- private void DeleteItem()
184- {
185- var argsItem = SelectedPerson;
186-
187- GridData.Remove(argsItem);
188- }
189-
190182 private async Task UpdateHandler(GridCommandEventArgs args)
191183 {
192184 var argsItem = args.Item as SampleData;
You can’t perform that action at this time.
0 commit comments