Culture in WPF Calendar (CalendarEdit)
CalendarEdit control supports different cultures. The culture information can be applied using the Culture property. This dependency property sets the culture for the CalendarEdit control.
To change the culture for the CalendarEdit control, use the following code example.
<!-- Adding calendar with culture as Afrikaans --><syncfusion:CalendarEdit Name="calendarEdit" Culture="Afrikaans"/></td></tr>
//Creating an instance of CalendarEdit control
CalendarEdit calendarEdit = new CalendarEdit();
//Setting the culture
calendarEdit.Culture = new CultureInfo(2);
//Adding CalendarEdit as window content
this.Content = calendarEdit;
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page