wpf-devexpress-dot-xpf-dot-core-dot-datasources-dot-unbounddatasourceproperty-10e5e0e2.md
Gets or sets the type of the data source field represented by the current UnboundDataSourceProperty.
Namespace : DevExpress.Xpf.Core.DataSources
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public Type PropertyType { get; set; }
Public Property PropertyType As Type
| Type | Description |
|---|---|
| Type |
A Type value that is the type of the data source field represented by the current UnboundDataSourceProperty.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PropertyType 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.
use-unbounddatasource-to-populate-wpf-data-grid-with-data/CS/UnboundSource/MainWindow.xaml#L23
<dx:UnboundDataSource.Properties>
<dx:UnboundDataSourceProperty Name="UnboundFirstName" PropertyType="{x:Type sys:String}" />
<dx:UnboundDataSourceProperty Name="UnboundAge" PropertyType="{x:Type sys:Int32}" />
See Also
UnboundDataSourceProperty Class