CheckBox 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 CheckBox component.
@Html.EJS().CheckBox("cbox2").Label("Default").EnableRtl(true).Render()
<style>
.e-checkbox-wrapper {
margin-top: 18px;
}
li {
list-style: none;
}
</style>
public ActionResult Rtl()
{
return View();
}