Search results

Enable RTL in ASP.NET Core Switch control

15 Oct 2021 / 1 minute to read

Switch component has RTL support. This can be achieved by setting enableRtl as true.

The following example illustrates how to enable right-to-left support in Switch component.

tagHelper
default.cs
Copied to clipboard
<ejs-switch id="default" enableRtl="true"></ejs-switch>
Copied to clipboard
public ActionResult Default()
    {
            return View();
    }