Skip to main content
A newer version of this page is available. .
Tab

DateEditTimeSectionProperties.TimeEditCellStyle Property

Gets the style settings defining the date edit’s time edit cell appearance.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

Declaration

public DateEditTimeSectionCellStyle TimeEditCellStyle { get; }

Property Value

Type Description
DateEditTimeSectionCellStyle

A DateEditTimeSectionCellStyle object that contains style settings.

Remarks

Use the TimeEditCellStyle property to access style settings that define the time section’s time edit cell appearance. You can control the time section visibility via the DateEditTimeSectionProperties.Visible property.

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