C1.Web.Wijmo.Controls.C1Input Namespace > C1InputDate Class : Hour12As0 Property |
'Declaration
<C1DescriptionAttribute(Key="C1Input.Hour12As0", Description="Gets or sets whether the 12-hours mode ranges from 00:00:00 to 11:59:59 or from 01:00:00 to 12:59:59.")> <System.ComponentModel.DefaultValueAttribute()> <C1CategoryAttribute("Behavior")> <WidgetOptionAttribute()> Public Property Hour12As0 As System.Boolean
[C1Description(Key="C1Input.Hour12As0", Description="Gets or sets whether the 12-hours mode ranges from 00:00:00 to 11:59:59 or from 01:00:00 to 12:59:59.")] [System.ComponentModel.DefaultValue()] [C1Category("Behavior")] [WidgetOption()] public System.bool Hour12As0 {get; set;}
This proprety determines the range of hours that can be entered or displayed when the format expression specified by the Format or the DisplayFormat properties describe 12-hour format -- the "tt" and the "HH" keywords included.
If set this property to false, the control sets the range for the hour field from 1 - 12. If set to true the range is set to 0 - 11.
Target Platforms: 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