Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit Namespace / TimeSpanUpDown Class / ShowHours Property


In This Topic
    ShowHours Property
    In This Topic
    Gets or sets if the hours will be displayed. When set to true, the TimeSpanUpDown control will display the hours; when set to false, the hours are hidden.
    Syntax
    'Declaration
     
    Public Property ShowHours As Boolean
    'Usage
     
    Dim instance As TimeSpanUpDown
    Dim value As Boolean
     
    instance.ShowHours = value
     
    value = instance.ShowHours
    public bool ShowHours {get; set;}
    Remarks
    When this property is set to falseShowDays cannot be set to true. An InvalidOperationException will be raised if these conditions are met.
    Requirements

    Target Platforms: Windows 11, Windows 10, 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

    See Also