ComponentOne CalendarView for WinForms
CalendarView for WinForms / Using Controls / DateEdit Features / Internationalization
In This Topic
    In This Topic

    DateEdit supports internationalization in the following ways:

    For information about setting culture settings and right-to-left functionality in CalendarView, see Culture Settings and Right to Left Support in CalendarView Features.

    The following image shows DateEdit with Arabic culture in right-to-left direction.

    The following code snippet shows how to set the current culture and enable right-to-left functionality in the DateEdit control.

    ' set culture 
    C1DateEdit1.Culture = C1DateEdit1.Culture = New System.Globalization.CultureInfo("ar-IQ").LCID
    ' enable right to left functionality
    C1DateEdit1.RightToLeft = RightToLeft.Yes
    // set the culture
    c1DateEdit1.Culture = new System.Globalization.CultureInfo("ar-IQ").LCID;
    // enable right to left functionality
    c1DateEdit1.RightToLeft = RightToLeft.Yes;
    See Also