Skip to main content

NumericUnsignedPropertyMetadataBuilderExtensions.NumericMask<T>(PropertyMetadataBuilder<T, Nullable<UInt16>>, String, Boolean) Method

Namespace: DevExpress.Mvvm.DataAnnotations

Assembly: DevExpress.Mvvm.v24.2.dll

Declaration

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

Parameters

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

Optional Parameters

Name Type Default
useMaskAsDisplayFormat Boolean True

Type Parameters

Name
T

Returns

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