# Display a calendar in a CommandBarDropDownButton

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.

## See Also

* [CommandBar Structure](https://www.telerik.com/products/winforms/documentation/controls/commandbar/structure)
* [Calendar Properties and Events](https://www.telerik.com/products/winforms/documentation/controls/calendar/properties-and-events)
