Back to Devexpress

DataControlBase.DesignTimeUseDistinctSampleValues Property

wpf-devexpress-dot-xpf-dot-grid-dot-datacontrolbase-f76e7e00.md

latest1.8 KB
Original Source

DataControlBase.DesignTimeUseDistinctSampleValues Property

Gets or sets whether sample data rows contain distinct values. This is a dependency property.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public bool DesignTimeUseDistinctSampleValues { get; set; }
vb
Public Property DesignTimeUseDistinctSampleValues As Boolean

Property Value

TypeDescription
Boolean

true to fill sample rows with distinct values; otherwise, false.

|

Remarks

Sample data is displayed if the DataControlBase.DesignTimeShowSampleData option is enabled and the grid displays columns (at design time). The number of sample rows is specified by the DataControlBase.DesignTimeDataSourceRowCount property.

To learn more, see Customizing Unbound Grid at Design Time.

See Also

DataControlBase Class

DataControlBase Members

DevExpress.Xpf.Grid Namespace