Version

EditModeFormat Property

Gets sets format of date used for edit mode when control has input focus.
Syntax
'Declaration
 
Public Property EditModeFormat As String
public string EditModeFormat {get; set;}
Remarks

Default value is set to the "d". If value has length of 1 (single flag-character such as: d, f, g, s, etc.), then the System.Threading.Thread.CurrentThread.CurrentCulture is used to obtain date pattern. Otherwise, this property is treated as explicit date pattern.

Example of explicit pattern: "dd-MM-yyyy" To learn about format flags and patterns, see documentation for the System.Globalization.DateTimeFormatInfo class.

Note The "z" and "g" characters and "%c" style in pattern are ignored. Possible day of the week field is ignored, and abbriviated month name is converted to digit.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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

See Also