Skip to main content

PropertyMetadataBuilderExtensions.InRange<T, TProperty>(PropertyMetadataBuilder<T, Nullable<TProperty>>, Nullable<TProperty>, Nullable<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 : struct, IComparable

Parameters

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

Type Parameters

Name
T
TProperty

Returns

Type
PropertyMetadataBuilder<T, Nullable<TProperty>>
See Also