Scheduler and Calendar supports Right-to-Left functionality for languages that follow Right-to-Left scripts. The control enables you to display calendar in the Right-to-Left direction by using the RightToLeftLayout and the RightToLeft properties. When both RightToLeftLayout and RightToLeft properties are true and Yes respectively, the calendar appears in the Right-to-Left direction.
The following image displays CalendarView in the Right-to-Left layout.
The following code snippet shows how to set the RightToLeftLayout and the RightToLeft properties in Calendar.
C# |
Copy Code
|
---|---|
// Enable the Right to Left Layout in Scheduler c1Schedule1.RightToLeft = RightToLeft.Yes; // Enable the Right to Left Layout in Calendar c1Calendar1.RightToLeftLayout = true; c1Calendar1.RightToLeft = RightToLeft.Yes; |