[Category("Selection")] [DefaultValue(999999)] [Description("The maximum number of selected objects")] public virtual int MaximumSelectionCount {get; set;}
[Category("Selection")] [DefaultValue(999999)] [Description("The maximum number of selected objects")] public virtual int MaximumSelectionCount {get; set;}
This property is checked by the Selection's GoSelection.Add method. If the selection's GoCollection.Count is greater than or equal to this value, GoSelection.Add will not add any objects to this collection.
If the new value is larger than the current number of selected objects, objects are removed from the Selection until the count is less than this new value. Such removals are done between SelectionStarting and SelectionFinished events.