DistinctValues Property
See Also 
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. This feature is available only in the Professional Edition

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property DistinctValues As IDictionary(Of String, ReadOnlyObservableHashList)
C# 
public IDictionary<string, ReadOnlyObservableHashList> DistinctValues {get;}

Return Value

An IDictionary that contains a list of the context's DataGridItemProperty objects with their corresponding distinct values.

Exceptions

ExceptionDescription
System.NotSupportedExceptionThe 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

Supported Frameworks: Microsoft .NET Framework version 3.5

See Also