GoDiagram Web Reference
MaximumSelectionCount Property

Gets or sets the maximum number of objects allowed in the selection.
Syntax
'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;}

Property Value

The initial value is 999999. The value must be non-negative.
Remarks

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.

Requirements

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

See Also

Reference

GoView Class
GoView Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback