Skip to main content

PropertyMetadataBuilderExtensions.MultilineTextDataType<T>(PropertyMetadataBuilder<T, String>) Method

Configures the property editor to display multiline data values.

Namespace: DevExpress.Mvvm.DataAnnotations

Assembly: DevExpress.Mvvm.v23.2.dll

NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation

Declaration

public static PropertyMetadataBuilder<T, string> MultilineTextDataType<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 MultilineTextDataType<T> property is recognized by the GridControl, TreeListControl, DataLayoutControl and PropertyGridControl.

Using the MultilineTextDataType<T> method is equivalent to assigning the [DataType(DataType.MultilineText)] data annotation attribute to a data property.

See Also