Back to Devexpress

UnboundDataSourceProperty.PropertyType Property

wpf-devexpress-dot-xpf-dot-core-dot-datasources-dot-unbounddatasourceproperty-10e5e0e2.md

latest2.4 KB
Original Source

UnboundDataSourceProperty.PropertyType Property

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

Declaration

csharp
public Type PropertyType { get; set; }
vb
Public Property PropertyType As Type

Property Value

TypeDescription
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

xml
<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

UnboundDataSourceProperty Members

DevExpress.Xpf.Core.DataSources Namespace