Northwoods.GoWeb Assembly > Northwoods.GoWeb Namespace > GoView Class : MaximumSelectionCount Property |
'Declaration <CategoryAttribute("Selection")> <DescriptionAttribute("The maximum number of selected objects")> <DefaultValueAttribute()> Public Overridable Property MaximumSelectionCount As Integer
[CategoryAttribute("Selection")] [DescriptionAttribute("The maximum number of selected objects")] [DefaultValueAttribute()] 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