Class MultiPropertyTracker
Tracks values in System.Windows.Forms.PropertyGrids in order to be able to generate MultiPropertyChangedCommands after a property was changed.
public class MultiPropertyTracker
- Inheritance
-
objectMultiPropertyTracker
- 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 System.Windows.Forms.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.