UnboundDataSource.Data Property

Gets the data represented by the UnboundDataSource. This is a dependency property.

Namespace: DevExpress.Xpf.Core.DataSources

Assembly: DevExpress.Xpf.Core.v20.2.dll


public IListSource Data { get; protected set; }
Public Property Data As IListSource

Property Value

Type Description

An IListSource implementation that is the data represented by the UnboundDataSource.


Use the Data property to bind a data-aware control to data.

The following example demonstrates a GridControl bound to an UnboundDataSource.

<Window ... >    
        <dx:UnboundDataSource x:Key="UnboundDataSource" Count="10"/>
        <dxg:GridControl AutoGenerateColumns="AddNew" 
         ItemsSource="{Binding Data, Source={StaticResource UnboundDataSource}}"/>
See Also