protected override RadElement CreateEditorElement() { BaseDateTimeEditorElement editorElement = (BaseDateTimeEditorElement)base.CreateEditorElement(); editorElement.Format = DateTimePickerFormat.Custom; editorElement.CustomFormat = "f"; return((RadElement)editorElement); }
protected override RadElement CreateEditorElement() { BaseDateTimeEditorElement timeEditorElement = new BaseDateTimeEditorElement(); RadDateTimePickerCalendar currentBehavior = timeEditorElement.GetCurrentBehavior() as RadDateTimePickerCalendar; if (currentBehavior != null) { currentBehavior.Calendar.ShowFooter = true; timeEditorElement.CalendarSize = new Size(200, 200); } return((RadElement)timeEditorElement); }
protected override RadElement CreateEditorElement() { BaseDateTimeEditorElement editor = new BaseDateTimeEditorElement(); RadDateTimePickerCalendar calendarBehavior = editor.GetCurrentBehavior() as RadDateTimePickerCalendar; if (calendarBehavior != null) { calendarBehavior.Calendar.ShowFooter = true; editor.CalendarSize = new Size(200, 200); } return(editor); }