ComponentOne CalendarView for WinForms
CalendarView for WinForms / Using Controls / CalendarView Features / Right to Left Support
In This Topic
    Right to Left Support
    In This Topic

    CalendarView 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 direction.

    The following code snippet shows how to set the RightToLeftLayout and the RightToLeft properties in CalendarView.

    ' enable the Right to Left Layout
    C1CalendarView1.RightToLeftLayout = True
    
    ' set the RightToLeft property
    C1CalendarView1.RightToLeft = RightToLeft.Yes
    
    // enable the Right to Left Layout
    c1CalendarView1.RightToLeftLayout = true;
    
    // set the RightToLeft property
    c1CalendarView1.RightToLeft = RightToLeft.Yes;
    
    See Also