Skip to main content
A newer version of this page is available. .

PropertyMetadataBuilderExtensions.InRange<T, TProperty>(PropertyMetadataBuilder<T, TProperty>, TProperty, TProperty, Func<TProperty, String>) Method

Namespace: DevExpress.Mvvm.DataAnnotations

Assembly: DevExpress.Mvvm.v19.2.dll

Declaration

public static PropertyMetadataBuilder<T, TProperty> InRange<T, TProperty>(
    this PropertyMetadataBuilder<T, TProperty> builder,
    TProperty minimum,
    TProperty maximum,
    Func<TProperty, string> errorMessageAccessor
)
    where TProperty : IComparable

Parameters

Name Type
builder PropertyMetadataBuilder<T, TProperty>
minimum TProperty
maximum TProperty
errorMessageAccessor Func<TProperty, String>

Type Parameters

Name
T
TProperty

Returns

Type
PropertyMetadataBuilder<T, TProperty>
See Also