Xceed DataGrid for Silverlight Documentation
CanCount Property (DataSourceProvider)


Gets a value indicating whether the data-source provider can provide the item count. 
Syntax
'Declaration
 
Public Overridable ReadOnly Property CanCount As Boolean
'Usage
 
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, Windows XP SP3, Windows Server 2008 family

See Also

Reference

DataSourceProvider Class
DataSourceProvider Members

Send Feedback