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

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

Namespace: DevExpress.Mvvm.DataAnnotations

Assembly: DevExpress.Mvvm.v18.2.dll

Declaration

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

Parameters

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

Optional Parameters

Name Type Default
useMaskAsDisplayFormat Boolean True

Type Parameters

Name
T

Returns

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