Xceed DataGrid for WPF v7.2 Documentation
DistinctValues Property (DataGridContext)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridContext Class : DistinctValues Property
Gets a dictionary that contains a list of the context's DataGridItemProperty objects with their corresponding distinct values.
Syntax
'Declaration
 
Public ReadOnly Property DistinctValues As IDictionary(Of String,ReadOnlyObservableHashList)
'Usage
 
Dim instance As DataGridContext

Dim value As IDictionary(Of String,ReadOnlyObservableHashList)

 

value = instance.DistinctValues
public IDictionary<string,ReadOnlyObservableHashList> DistinctValues {get;}

Property Value

An IDictionary that contains a list of the context's DataGridItemProperty objects with their corresponding distinct values.
Exceptions
ExceptionDescription
The ICollection<>, IEnumerable<>, and IEnumerable interfaces are not supported. Only IDictionary members can be used.
Remarks
The value returned by this property corresponds to the value of the DistinctValues property of the DataGridCollectionView to which the source grid is bound or that were automatically extracted by the DetailDescription from which the source detail was created.
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

DataGridContext Class
DataGridContext Members