Scheduler for UWP | ComponentOne
C1.Xaml.Schedule Namespace / C1Scheduler Class / TimeFormat Property

In This Topic
    TimeFormat Property
    In This Topic
    Gets or sets the System.String value determining time format used to display time ruler in a Day, Week and Work Week views. The default value is an empty string. In such case C1Scheduler takes default time format from the current culture. This is a dependency property.
    Syntax
    'Declaration
     
    
    <C1CategoryAttribute("Calendar")>
    <C1DescriptionAttribute("C1Scheduler.TimeFormat", "Gets or sets time format string used to display time ruler.")>
    <DefaultValueAttribute("")>
    Public Property TimeFormat As String
    [C1Category("Calendar")]
    [C1Description("C1Scheduler.TimeFormat", "Gets or sets time format string used to display time ruler.")]
    [DefaultValue("")]
    public string TimeFormat {get; set;}
    Remarks
    Don't use general formats as "T" for this property. Use detailed format string such as "h:mm tt" or "HH:mm".
    See Also