Back to Devexpress

VirtualSourceBase.CustomProperties Property

wpf-devexpress-dot-xpf-dot-data-dot-virtualsourcebase.md

latest3.3 KB
Original Source

VirtualSourceBase.CustomProperties Property

Gets or sets custom descriptors.

Namespace : DevExpress.Xpf.Data

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public PropertyDescriptorCollection CustomProperties { get; set; }
vb
Public Property CustomProperties As PropertyDescriptorCollection

Property Value

TypeDescription
PropertyDescriptorCollection

A collection of PropertyDescriptor objects.

|

Remarks

If you bind to dynamic objects, use the CustomProperties property to specify custom descriptors.

The following code snippets (auto-collected from DevExpress Examples) contain references to the CustomProperties property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

how-to-bind-wpf-grid-to-data/CS/ViewModel/XPO/InfiniteAsyncSource/MainWindow.xaml#L17

xml
<dxg:GridControl.ItemsSource>
    <dx:InfiniteAsyncSource CustomProperties="{Binding Properties}" KeyProperty="Oid"
                            FetchRowsCommand="{Binding FetchRowsCommand}" GetTotalSummariesCommand="{Binding GetTotalSummariesCommand}" />

wpf-data-grid-implement-crud-operations/CS/ViewModel/XPO/PagedAsyncSource/MainWindow.xaml#L29

xml
<dxg:GridControl.ItemsSource>
    <dx:PagedAsyncSource CustomProperties="{Binding Properties}" KeyProperty="Oid"
                         PageNavigationMode="ArbitraryWithTotalPageCount" FetchPageCommand="{Binding FetchPageCommand}"

wpf-bind-gridcontrol-to-dynamic-data/CS/VirtualSources.InfiniteAsyncSource/MainWindow.xaml#L17

xml
<dxg:GridControl.ItemsSource>
    <dx:InfiniteAsyncSource CustomProperties="{Binding CustomFields}" FetchRowsCommand="{Binding FetchRowsCommand}" />
</dxg:GridControl.ItemsSource>

See Also

VirtualSourceBase Class

VirtualSourceBase Members

DevExpress.Xpf.Data Namespace