<h1>
    Value Pickers
</h1>
<p>
    The Menu control can be used as a simple value picker.
    It extends the ComboBox control, which allows you to bind
    variables to the control's <b>selectedValue</b> property
    as you would with a ComboBox.
</p>
<p>
    This example ises the <b>selectedIndexChanged</b> event
    to update the Menu's <b>header</b> and show the current
    value:
</p>

@(Html.C1().Menu().Id("valuePicker")
    .DisplayMemberPath("header")
    .SelectedValuePath("value")
)