RadControls for WinForms

RadCalendar provides built in internationalization support to build world-ready applications including:

  • The Culture property can be set using the drop down list in the Properties Window or set in code. The screenshot below shows the Culture property set to "German(Germany)".

    Copy[C#]
    this.radDateTimePicker1.Culture = new System.Globalization.CultureInfo("de-DE");
    Copy[VB.NET]
    Me.RadDateTimePicker1.Culture = New System.Globalization.CultureInfo("de-DE")

    editors-datetimepicker-internationalization 001

  • Right-to-Left support:
    • Right-to-Left = No (default value)

      Copy[C#]
      this.radDateTimePicker1.RightToLeft = RightToLeft.No;
      Copy[VB.NET]
      Me.RadDateTimePicker1.RightToLeft = RightToLeft.No

      editors-datetimepicker-internationalization 002

    • Right-to-Left = Yes

      Copy[C#]
      this.radDateTimePicker1.RightToLeft = RightToLeft.Yes;
      Copy[VB.NET]
      Me.RadDateTimePicker1.RightToLeft = RightToLeft.Yes

      editors-datetimepicker-internationalization 003

  • Date Format Pattern: The Format property has valid values of Short, Long, Time and Custom. The Custom enables the CustomFormat property.

    Copy[C#]
    this.radDateTimePicker1.Format = DateTimePickerFormat.Custom;
    this.radDateTimePicker1.CustomFormat = "MMM - dd - yyyy";
    Copy[VB.NET]
    Me.RadDateTimePicker1.Format = DateTimePickerFormat.Custom
    Me.RadDateTimePicker1.CustomFormat = "MMM - dd - yyyy"

    editors-datetimepicker-internationalization 004

See the article Introduction to International Applications Based on .NET Framework for an overview of internationalization in general.