我想通过代码来判断detailview模式改变后是否到了编辑模式,然后好进行下一步操作,请问要怎样实现呢?
可使用CurrentMode属性
if (CustomerDetailView.CurrentMode == DetailsViewMode.Edit) { //Doing Somethin! }