New to Telerik UI for WinForms? Start a free 30-day trial
Display a calendar in a CommandBarDropDownButton
Updated on Aug 13, 2026
Use a RadMenuHostItem to add a RadCalendar control to the dropdown menu of a CommandBarDropDownButton. Set the calendar minimum size before adding it so the dropdown menu can measure the hosted control.
Adding a calendar to the dropdown
The following example creates a calendar, hosts it in a menu item, and adds the item to a command bar dropdown button.
csharp
RadCalendar calendar = new RadCalendar
{
MinimumSize = new Size(250, 200)
};
RadMenuHostItem calendarItem = new RadMenuHostItem(calendar);
CommandBarDropDownButton calendarButton = new CommandBarDropDownButton
{
Text = "Calendar"
};
calendarButton.Items.Add(calendarItem);
commandBarStripElement.Items.Add(calendarButton);
The RadCalendar is displayed when the user clicks the dropdown arrow on the CommandBarDropDownButton. Use the calendar properties and events to configure or respond to date selection.