Dundas Chart for Windows Forms
Capacity Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > LegendCellColumnCollection Class : Capacity Property


Gets or sets the number of elements that the CollectionBase can contain.

Syntax

Visual Basic (Declaration)  
Public Property Capacity As Integer
Visual Basic (Usage) Copy Code
Dim instance As LegendCellColumnCollection
Dim value As Integer
 
instance.Capacity = value
 
value = instance.Capacity
C#  
public int Capacity {get; set;}

Exceptions

Exception Description
ArgumentOutOfRangeException Capacity is set to a value that is less than Count.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.