Xceed Toolkit Plus for WPF v4.6 Documentation
CanCount Property (DataSourceProvider)


Xceed.Wpf.ListBox Assembly > Xceed.Wpf.Data Namespace > DataSourceProvider Class : CanCount Property
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 11, Windows 10, 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