![]() | Type | Description | ||
| Operation as BarOperationEnum | A BarOperationEnum expression that specifies the operation to start |
For instance, you can use the ChartStartChanging event to shows the grid lines while resizing, and use the ChartEndChaning to hide the grid lines.
Use the StartBlockUndoRedo / EndBlockUndoRedo methods to collect the user operations as a block, so next time the Undo/Redo operation is performed, the entire block of operations is performed or restored at once. For instance, if you have a bar related to several other bars, and so moving a bar implies moving several other bars, each moving is recorded as a single undo/redo operation, so the operations are restored once at the time. Instead, if you use the StartBlockUndoRedo / EndBlockUndoRedo methods when your operation starts / ends, the collection of operations is recorded as a block of instructions, so the next time Undo operation is called the entire block is restored or performed at once.