Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / DateShortHourField Class / Hour12Mode Property


In This Topic
    Hour12Mode Property (DateShortHourField)
    In This Topic
    Gets or sets a value indicating show hour 0 and hour12 both to 0 or 12. This is a dependency property.
    Syntax
    'Declaration
     
    Public Property Hour12Mode As Hour12Mode
    'Usage
     
    Dim instance As DateShortHourField
    Dim value As Hour12Mode
     
    instance.Hour12Mode = value
     
    value = instance.Hour12Mode
    public Hour12Mode Hour12Mode {get; set;}

    Property Value

    A Hour12Mode enumeration indicates how we represents the hour 12 in duodecimal hour format. The default value is GrapeCity.Windows.InputMan.Hour12Mode.Hour0As12.
    Exceptions
    ExceptionDescription
    The assigned value is not type of Hour12Mode.
    See Also