Gets or sets the maximum number of records to keep in the history queue.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public int Capacity { get; set; } |
Visual Basic Copy Code |
---|
Public Property Capacity As Integer |
An integer value specifying the number of records to keep in the queue; cannot be less than 1. The default is 10.
If the history queue is full, the oldest command records are removed from the beginning when new ones are added. The queue is cleared when you change Capacity, so better do this at application's startup phase.
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |