PropertyMetadataBuilderExtensions.DateTimeMask<T>(PropertyMetadataBuilder<T, DateTime>, String, Boolean) Method
Namespace: DevExpress.Mvvm.DataAnnotations
Assembly: DevExpress.Mvvm.v24.1.dll
NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation
Declaration
public static DateTimeMaskBuilder<T, PropertyMetadataBuilder<T, DateTime>> DateTimeMask<T>(
this PropertyMetadataBuilder<T, DateTime> builder,
string mask,
bool useMaskAsDisplayFormat = true
)
Parameters
Name | Type |
---|---|
builder | PropertyMetadataBuilder<T, DateTime> |
mask | String |
Optional Parameters
Name | Type | Default |
---|---|---|
useMaskAsDisplayFormat | Boolean | True |
Type Parameters
Name |
---|
T |
Returns
Type |
---|
DevExpress.Mvvm.DataAnnotations.DateTimeMaskBuilder<T, PropertyMetadataBuilder<T, DateTime>> |
See Also