Skip to main content
Tab

DateEditTimeSectionProperties.ShowSecondHand Property

Gets or sets a value that specifies whether the second hand is displayed on the clock.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(false)]
public bool ShowSecondHand { get; set; }

Property Value

Type Default Description
Boolean false

true, if the hand is visible, otherwise, false.

Remarks

Use the ShowSecondHand property to specify whether the second hand is visible on the clock. The second hand image can be specified via the DateEditTimeSectionProperties.SecondHandImage property.

Visibility of hour and minute hands can be controlled by the DateEditTimeSectionProperties.ShowHourHand and DateEditTimeSectionProperties.ShowMinuteHand properties respectively.

Example

The example below demonstrates how you can customize the time section to allow end-users to specify time with seconds. For this purpose, the following properties are specified.

The image below shows the result.

ASPxDateEdit_ShowSecondHand

<dx:ASPxDateEdit ID="ASPxDateEdit1" runat="server">
     <TimeSectionProperties ShowSecondHand="True" Visible="True">
          <TimeEditProperties EditFormatString="T">
          </TimeEditProperties>
          <TimeEditCellStyle>
               <Paddings PaddingLeft="20px" PaddingRight="20px" />
          </TimeEditCellStyle>
     </TimeSectionProperties>
</dx:ASPxDateEdit>
See Also