Here's the script:
- Two toolkit data grids, side by side
- Grid A is read-only and cannot be changed.
- Grid B content can be modified and saved using the save button below it.
I need Grid A to remain unchanged until the user clicks the save button, regardless of any changes. In Grid B, it may or may not be. When I snap to the property below, both grids change when Grid B changes. I want to avoid this.
What is the best approach for this? Both grids are currently tied to the following property:
public EntitySet<SomeEntity> SomeEntities
{
get { return _entity; }
set
{
if (_entity != value)
{
_entity= value;
OnPropertyChanged("SomePropertyChanged");
}
}
}
source
share