Xceed Ultimate ListBox for Silverlight Documentation
CanCount Property (DataSourceProvider)


Gets a value indicating whether the data-source provider can provide the item count. 
Syntax
Public Overridable ReadOnly Property CanCount As Boolean
Dim instance As DataSourceProvider
Dim value As Boolean
 
value = instance.CanCount
public virtual bool CanCount {get;}

Property Value

true if the data-source provider can provide the item count; false otherwise. By default, false.
Remarks
If the count is not known, CanCount should be set to false rather than returning a a null reference (Nothing in Visual Basic) or invalid value.
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

DataSourceProvider Class
DataSourceProvider Members

Send Feedback