Skip to main content

PropertyMetadataBuilderExtensions.NumericMask<T>(PropertyMetadataBuilder<T, Nullable<Decimal>>, String, Boolean) Method

Namespace: DevExpress.Mvvm.DataAnnotations

Assembly: DevExpress.Mvvm.v24.1.dll

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

Declaration

public static NumericMaskBuilder<T, decimal?, PropertyMetadataBuilder<T, decimal?>> NumericMask<T>(
    this PropertyMetadataBuilder<T, decimal?> builder,
    string mask,
    bool useMaskAsDisplayFormat = true
)

Parameters

Name Type
builder PropertyMetadataBuilder<T, Nullable<Decimal>>
mask String

Optional Parameters

Name Type Default
useMaskAsDisplayFormat Boolean True

Type Parameters

Name
T

Returns

Type
DevExpress.Mvvm.DataAnnotations.NumericMaskBuilder<T, Nullable<Decimal>, PropertyMetadataBuilder<T, Nullable<Decimal>>>
See Also