KaxDateInputDateFormat Property |
Gets or sets the date and time format used by
KaxDateInput.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax public virtual string DateFormat { get; set; }
Public Overridable Property DateFormat As String
Get
Set
public:
virtual property String^ DateFormat {
String^ get ();
void set (String^ value);
}
abstract DateFormat : string with get, set
override DateFormat : string with get, set
Property Value
Type:
String
A string specifying the date format used by
KaxDateInput. The
default value is "d" (short date format).
Implements
IKaxDateInputDateFormatExamples private void Page_Load(object sender, System.EventArgs e)
{
KaxDateInput1.DateFormat = "M/d/yyyy";
}
Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
KaxDateInput1.DateFormat = "M/d/yyyy"
End Sub
See Also