Skip to main content

PropertyMetadataBuilderExtensions.RegExMask<T>(PropertyMetadataBuilder<T, String>, String, Boolean) Method

Namespace: DevExpress.Mvvm.DataAnnotations

Assembly: DevExpress.Mvvm.v24.1.dll

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

Declaration

public static RegExMaskBuilder<T, string, PropertyMetadataBuilder<T, string>> RegExMask<T>(
    this PropertyMetadataBuilder<T, string> builder,
    string mask,
    bool useMaskAsDisplayFormat = false
)

Parameters

Name Type
builder PropertyMetadataBuilder<T, String>
mask String

Optional Parameters

Name Type Default
useMaskAsDisplayFormat Boolean False

Type Parameters

Name
T

Returns

Type
DevExpress.Mvvm.DataAnnotations.RegExMaskBuilder<T, String, PropertyMetadataBuilder<T, String>>
See Also