Class MultiPropertyTracker
Tracks values in PropertyGrids in order to be able to generate MultiPropertyChangedCommands after a property was changed.
public class MultiPropertyTracker
- Inheritance
-
MultiPropertyTracker
- Extension Methods
Constructors
MultiPropertyTracker(PropertyGrid)
Creates a new multi-property tracker.
public MultiPropertyTracker(PropertyGrid propertyGrid)
Parameters
propertyGrid
PropertyGridThe property grid being tracked.
Methods
GetCommand(GridItem)
Creates an undo command representing a property change the PropertyGrid has just performed.
public IUndoCommand GetCommand(GridItem changedItem)
Parameters
changedItem
GridItemThe property grid item that was changed.
Returns
Exceptions
- InvalidOperationException
No change was recorded yet.