// Initialize Calendar |
this.radCalendar1.ShowFooter = true; |
this.radCalendar1.ShowHeader = true; |
this.radCalendar1.ShowColumnHeaders = true; |
this.radCalendar1.ShowNavigationButtons = true; |
this.radCalendar1.ShowFastNavigationButtons = true; |
this.radCalendar1.DayNameFormat = Telerik.WinControls.UI.DayNameFormat.FirstTwoLetters; |
this.radCalendar1.AllowSelect = true; |
this.radCalendar1.AllowMultipleSelect = true; |
this.radCalendar1.AllowViewSelector = true; |
this.radCalendar1.ShowRowHeaders = true; |
this.radCalendar1.AllowRowHeaderSelectors = true; |
this.radCalendar1.FastNavigationStep = 3; |
|
// Localize Calendar |
this.radCalendar1.Culture = new System.Globalization.CultureInfo( "de-DE" ); |
this.radCalendar1.TodayButton.Text = "Heute"; |
this.radCalendar1.ClearButton.Text = "Löschen"; |
this.radCalendar1.NavigationNextToolTip = "nächster Monat"; |
this.radCalendar1.NavigationPrevToolTip = "vorheriger Monat"; |
this.radCalendar1.FastNavigationNextToolTip = String.Format( "nächste {0} Monate", this.radCalendar1.FastNavigationStep ); |
this.radCalendar1.FastNavigationPrevToolTip = String.Format( "vorherige {0} Monate" , this.radCalendar1.FastNavigationStep ); |
|
// Localize DateTimePicker |
this.radDateTimePicker1.Culture = new System.Globalization.CultureInfo( "de-DE" ); |
RadDateTimePickerCalendar calendarBehavior = this.radDateTimePicker1.DateTimePickerElement.GetCurrentBehavior( ) as RadDateTimePickerCalendar; |
RadCalendar calendar = calendarBehavior.Calendar as RadCalendar; |
calendar.FastNavigationStep = 3; |
calendar.DayNameFormat = Telerik.WinControls.UI.DayNameFormat.FirstTwoLetters; |
calendar.NavigationNextToolTip = "nächster Monat"; |
calendar.NavigationPrevToolTip = "vorheriger Monat"; |
calendar.FastNavigationNextToolTip = String.Format( "nächste {0} Monate" , calendar.FastNavigationStep ); |
calendar.FastNavigationPrevToolTip = String.Format( "vorherige {0} Monate" , calendar.FastNavigationStep ); |
|
// Localize MessageBox |
RadMessageLocalizationProvider.CurrentProvider = new GermanRadMessageBoxLocalization( ); |
|
// Initalize TreeView |
this.radTreeView1.AllowDefaultContextMenu = true; |
this.radTreeView1.AllowAddNewInContextMenu = true; |
this.radTreeView1.AllowDeleteInContextMenu = true; |
this.radTreeView1.AllowDragDrop = true; |
this.radTreeView1.AllowEdit = true; |
|
// Localize TreeView |
RadTreeViewLocalizationProvider.CurrentProvider = new GermanTreeViewLocalizationProvider( ); |
|