CalendarComboBoxCellType CreateComboBoxCellHiddenDropDownButton()
{
CalendarComboBoxCellType comboBoxCell = new CalendarComboBoxCellType();
comboBoxCell.DropDownStyle = CalendarGridComboBoxStyle.DropDown;
// Hide drop down button when non edit status.
comboBoxCell.ShowDropDownButton = CalendarCellButtonVisibility.NotShown;
comboBoxCell.Items.Add("Item1");
comboBoxCell.Items.Add("Item2");
return comboBoxCell;
}
Private Function CreateComboBoxCellHiddenDropDownButton() As CalendarComboBoxCellType
Dim comboBoxCell As New CalendarComboBoxCellType()
comboBoxCell.DropDownStyle = CalendarGridComboBoxStyle.DropDown
' Hide drop down button when non edit status.
comboBoxCell.ShowDropDownButton = CalendarCellButtonVisibility.NotShown
comboBoxCell.Items.Add("Item1")
comboBoxCell.Items.Add("Item2")
Return comboBoxCell
End Function