or
| RadDateTimePicker dtPickerEnd = new RadDateTimePicker(); |
| RadDateTimePicker dtPickerStart = new RadDateTimePicker(); |
| dtPickerStart.Name = "dtPickerStart"; |
| dtPickerStart.ThemeName = "Office2007Blue"; |
| dtPickerEnd.Name = "dtPickerEnd"; |
| dtPickerEnd.ThemeName = "Office2007Blue"; |
| RadHostItem hostItem1 = new RadHostItem(dtPickerStart); |
| hostItem1.MinSize = new Size(150, 22); |
| hostItem1.MaxSize = new Size(150, 22); |
| radRibbonBarButtonGroupDTStart.Items.Add(hostItem1); |
| RadHostItem hostItem2 = new RadHostItem(dtPickerEnd); |
| hostItem2.MinSize = new Size(150, 22); |
| hostItem2.MaxSize = new Size(150, 22); |
| radRibbonBarButtonGroupDTEnd.Items.Add(hostItem2); |
e.CellElement.Alignment =
ContentAlignment.TopLeft;
on the ViewCellFormatting event but it doesn't make any difference.
| RadListBoxItem docQueue = this.lstDocQueue.FindItem(letter.ToString()); |
| this.lstDocQueue.SelectedItem = docQueue.Text; |
| RadListBoxElement element = (RadListBoxElement)this.lstDocQueue.RootElement.Children[0]; |
| element.ScrollElementIntoView(docQueue); |