NanoByte.Common
Public Member Functions | List of all members
NanoByte.Common.Undo.MultiPropertyTracker Class Reference

Tracks values in PropertyGrids in order to be able to generate MultiPropertyChangedCommands after a property was changed. More...

Public Member Functions

 MultiPropertyTracker (PropertyGrid propertyGrid)
 Creates a new multi-property tracker. More...
 
IUndoCommand GetCommand (GridItem changedItem)
 Creates an undo command representing a property change the PropertyGrid has just performed. More...
 

Detailed Description

Tracks values in PropertyGrids in order to be able to generate MultiPropertyChangedCommands after a property was changed.

Constructor & Destructor Documentation

◆ MultiPropertyTracker()

NanoByte.Common.Undo.MultiPropertyTracker.MultiPropertyTracker ( PropertyGrid  propertyGrid)
inline

Creates a new multi-property tracker.

Parameters
propertyGridThe property grid being tracked.

Member Function Documentation

◆ GetCommand()

IUndoCommand NanoByte.Common.Undo.MultiPropertyTracker.GetCommand ( GridItem  changedItem)

Creates an undo command representing a property change the PropertyGrid has just performed.

Parameters
changedItemThe property grid item that was changed.

The documentation for this class was generated from the following file: