Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
WPF Datagrid 在单元格编辑时更新..我将 Datagrid 的 ItemsSource 作为列表提供....当我编辑数据网格时,它会自动反映在列表中..我不想自动更新它,我有一个保存按钮单击它应该保存列表。
在绑定中将 UpdateSourceTrigger 设置为显式
{Binding Path=someProp, UpdateSourceTrigger=Explicit}