PropertyMetadataBuilderExtensions.ImageUrlDataType<T>(PropertyMetadataBuilder<T, String>) Method
Configures the property editor to display image url values.
Namespace: DevExpress.Mvvm.DataAnnotations
Assembly: DevExpress.Mvvm.v24.1.dll
NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation
Declaration
public static PropertyMetadataBuilder<T, string> ImageUrlDataType<T>(
this PropertyMetadataBuilder<T, string> builder
)
Parameters
Name | Type | Description |
---|---|---|
builder | PropertyMetadataBuilder<T, String> | A property metadata builder. |
Type Parameters
Name |
---|
T |
Returns
Type | Description |
---|---|
PropertyMetadataBuilder<T, String> | The property metadata builder instance. |
Remarks
The ImageUrlDataType<T> property is recognized by the GridControl, TreeListControl, DataLayoutControl and PropertyGridControl.
Using the ImageUrlDataType<T> method is equivalent to assigning the [DataType(DataType.ImageUrl)] data annotation attribute to a data property.
See Also