TimeEditor allows you to set the time format for displaying the time in a specific format. You can use Format property of the C1TimeEditor class to set the standard time format for the TimeEditor control. The following code showcases the use of Format property to set the "hh:mm" time format to display time in the control.
C# |
コードのコピー
|
---|---|
<C1TimeEditor Value="DateTime.Now" Format="hh:mm"></C1TimeEditor> |