Northwoods.Go Assembly > Northwoods.Go Namespace > GoView Class : MaximumSelectionCount Property |
'Declaration <DefaultValueAttribute()> <CategoryAttribute("Selection")> <DescriptionAttribute("The maximum number of selected objects")> Public Overridable Property MaximumSelectionCount As Integer
[DefaultValueAttribute()] [CategoryAttribute("Selection")] [DescriptionAttribute("The maximum number of selected objects")] public virtual int MaximumSelectionCount {get; set;}
This property is checked by the Selection's Add method. If the selection's GoCollection.Count is greater than or equal to this value, 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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2