RTL

24 May 20171 minute to read

This feature supports to change the left-to-right alignment of the TimePicker widget to right-to-left when set the EnableRTL as true. By default EnableRTL value is set as “false”. The custom template TimePicker also supports RTL.

Enabling Right-To-Left Support

The following steps explains you in enabling the right-to-left property for the TimePicker.

  1. Add the following code to the corresponding view page to render the TimePicker.
  • CSHTML
  • @*Add the following code example to the corresponding CSHTML page to render TimePicker widget with right to left appearance*@
    
    @Html.EJ().TimePicker("time").EnableRTL(true)

    The following screenshot illustrates a TimePicker control when EnableRTL is set to “true”

    TimePicker template with RTL support