wpf-devexpress-dot-xpf-dot-data-dot-virtualsourcebase.md
Gets or sets custom descriptors.
Namespace : DevExpress.Xpf.Data
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public PropertyDescriptorCollection CustomProperties { get; set; }
Public Property CustomProperties As PropertyDescriptorCollection
| Type | Description |
|---|---|
| PropertyDescriptorCollection |
A collection of PropertyDescriptor objects.
|
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
<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
<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
<dxg:GridControl.ItemsSource>
<dx:InfiniteAsyncSource CustomProperties="{Binding CustomFields}" FetchRowsCommand="{Binding FetchRowsCommand}" />
</dxg:GridControl.ItemsSource>
See Also