Search
CommandHistory.Capacity Property
See Also
 






Gets or sets the maximum number of records to keep in the history queue.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public int Capacity { get; set; }

Visual Basic  Copy Code

Public Property Capacity As Integer

 Property Value

An integer value specifying the number of records to keep in the queue; cannot be less than 1. The default is 10.

 Remarks

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.

 See Also