Property Value
A string representing the custom format specifier that will be used to mask the inputted text. By default, a null reference (Nothing in Visual Basic).
A string representing the custom format specifier that will be used to mask the inputted text. By default, a null reference (Nothing in Visual Basic).
The custom format specifier will only be used if the DateTimeMaskMode property is set to DateTimeMaskMode.Custom.
The CustomFormatSpecifier only allows a subset of the rules found here:
https://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings.
Here are the specific constraints:
Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2