Skip to main content

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

Namespace: DevExpress.Mvvm.DataAnnotations

Assembly: DevExpress.Mvvm.v23.2.dll

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

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