ComponentOne GridView for ASP.NET WebForms
C1.Web.Wijmo.Controls.45 Assembly / C1.Web.Wijmo.Controls.C1Input Namespace / C1InputDate Class / Hour12As0 Property

In This Topic
    Hour12As0 Property
    In This Topic
    Gets or sets the range of hours that can be entered in the control.
    Syntax
    'Declaration
     
    Public Property Hour12As0 As System.Boolean
    public System.bool Hour12As0 {get; set;}

    Property Value

    One of the bool enumeration values. The default is false
    Remarks

    This proprety determines the range of hours that can be entered or displayed when the format expression specified by the C1.Web.Wijmo.Controls.C1Input.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.

    See Also