ComponentOne ASP.NET MVC Controls
MenuBuilder Class Members
Methods 

C1.Web.Mvc.Fluent Namespace : MenuBuilder Class

The following tables list the members exposed by MenuBuilder.

Public Constructors
 NameDescription
Public ConstructorCreate one MenuBuilder instance.  
Top
Public Methods
 NameDescription
Public MethodOverloaded. Configurates C1.Web.Mvc.ItemsBoundControl<T>.ItemsSource. Sets ItemsSource settings with the specified action url. (Inherited from C1.Web.Mvc.Fluent.ItemsBoundControlBuilder<T,TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.ItemsBoundControl<T>.ItemsSource. Sets ItemsSource settings. (Inherited from C1.Web.Mvc.Fluent.ItemsBoundControlBuilder<T,TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.ItemsBoundControl<T>.ItemsSource. Sets ItemsSource settings. (Inherited from C1.Web.Mvc.Fluent.ItemsBoundControlBuilder<T,TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.MenuBase<T>.CloseOnLeave. Sets a value that determines whether the menu should close automatically when the mouse leave the items. (Inherited from C1.Web.Mvc.Fluent.MenuBaseBuilder<object,Menu,MenuBuilder>)
Public MethodOverloaded. Sets the Command property.  
Public MethodConfigurates C1.Web.Mvc.MenuBase<T>.CommandParameterPath. (Inherited from C1.Web.Mvc.Fluent.MenuBaseBuilder<object,Menu,MenuBuilder>)
Public MethodConfigurates C1.Web.Mvc.MenuBase<T>.CommandPath. (Inherited from C1.Web.Mvc.Fluent.MenuBaseBuilder<object,Menu,MenuBuilder>)
Public MethodConfigurates C1.Web.Mvc.Control.CssClass. Sets the css class of the control. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.Control.CssStyles. Sets the CSS style applied in the control. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.Control.CssStyles. Sets the CSS style applied in the control. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.ComboBoxBase<T>.DisplayMemberPath. Sets the name of the property to use as the visual representation of the items. (Inherited from C1.Web.Mvc.Fluent.ComboBoxBaseBuilder<T,TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.DropDown<T>.DropDownCssClass. Sets a CSS class name to add to the control's drop-down element. (Inherited from C1.Web.Mvc.Fluent.DropDownBuilder<T,TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.MenuBase<T>.Header. (Inherited from C1.Web.Mvc.Fluent.MenuBaseBuilder<object,Menu,MenuBuilder>)
Public MethodOverloaded. Configurates C1.Web.Mvc.Control.Height. Sets the height of the control. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.Control.HtmlAttributes. Sets the HTML attributes. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodOverloaded. Configurates C1.Web.Mvc.Control.HtmlAttributes. Sets the HTML attributes. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.Component.Id. Sets the id of the control. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.DropDown<T>.IsAnimated. Sets a value that indicates whether the control should use a fade-in animation when displaying the drop-down. (Inherited from C1.Web.Mvc.Fluent.DropDownBuilder<T,TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.MenuBase<T>.IsButton. Sets a value that determines whether menu should act as a split button instead of a regular menu. (Inherited from C1.Web.Mvc.Fluent.MenuBaseBuilder<object,Menu,MenuBuilder>)
Public MethodConfigurates C1.Web.Mvc.ComboBoxBase<T>.IsContentHtml. Sets a value indicating whether the drop-down list displays items as plain text or as HTML. (Inherited from C1.Web.Mvc.Fluent.ComboBoxBaseBuilder<T,TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.Control.IsDisabled. Sets a value that determines whether the control is disabled. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.DropDown<T>.IsDroppedDown. Sets a value indicating whether the drop down is currently visible. (Inherited from C1.Web.Mvc.Fluent.DropDownBuilder<T,TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.ComboBoxBase<T>.IsEditable. Sets a value that enables or disables editing of the text in the input element of the ComboBox (defaults to false). (Inherited from C1.Web.Mvc.Fluent.ComboBoxBaseBuilder<T,TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.DropDown<T>.IsReadOnly. Sets a value that indicates whether the user can modify the control value using the mouse and keyboard. (Inherited from C1.Web.Mvc.Fluent.DropDownBuilder<T,TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.DropDown<T>.IsRequired. Sets a value indicating whether the control value must be a non-empty string. (Inherited from C1.Web.Mvc.Fluent.ComboBoxBaseBuilder<T,TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.ComboBoxBase<T>.ItemFormatter. Sets a function used to customize the values shown in the drop-down list. (Inherited from C1.Web.Mvc.Fluent.ComboBoxBaseBuilder<T,TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.ItemsBoundControl<T>.ItemsSourceId. Sets the ItemsSourceId specify which CollectionViewService will be used for this control. (Inherited from C1.Web.Mvc.Fluent.ItemsBoundControlBuilder<T,TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.ComboBoxBase<T>.ItemTemplateContent. Sets the content of the template used to generate each list item. (Inherited from C1.Web.Mvc.Fluent.ComboBoxBaseBuilder<T,TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.ComboBoxBase<T>.ItemTemplateId. Sets the id of the template used to generate each list item. (Inherited from C1.Web.Mvc.Fluent.ComboBoxBaseBuilder<T,TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.ComboBoxBase<T>.MaxDropDownHeight. Sets the maximum height of the drop-down list. (Inherited from C1.Web.Mvc.Fluent.ComboBoxBaseBuilder<T,TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.ComboBoxBase<T>.MaxDropDownWidth. Sets the maximum width of the drop-down list. (Inherited from C1.Web.Mvc.Fluent.ComboBoxBaseBuilder<T,TControl,TBuilder>)
Public MethodSets the MenuItems.  
Public MethodConfigurates the C1.Web.Mvc.ComboBoxBase<T>.OnClientFormatItem client event. Event that fires when items in the drop-down list are created. (Inherited from C1.Web.Mvc.Fluent.ComboBoxBaseBuilder<T,TControl,TBuilder>)
Public MethodConfigurates the C1.Web.Mvc.Control.OnClientGotFocus client event. Occurs when the control gets the focus. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodConfigurates the C1.Web.Mvc.DropDown<T>.OnClientIsDroppedDownChanged client event. Occurs after the drop down is shown or hidden. (Inherited from C1.Web.Mvc.Fluent.DropDownBuilder<T,TControl,TBuilder>)
Public MethodConfigurates the C1.Web.Mvc.DropDown<T>.OnClientIsDroppedDownChanging client event. Occurs before the drop down is shown or hidden. (Inherited from C1.Web.Mvc.Fluent.DropDownBuilder<T,TControl,TBuilder>)
Public MethodConfigurates the C1.Web.Mvc.MenuBase<T>.OnClientItemClicked client event. (Inherited from C1.Web.Mvc.Fluent.MenuBaseBuilder<object,Menu,MenuBuilder>)
Public MethodConfigurates the C1.Web.Mvc.ComboBoxBase<T>.OnClientItemsSourceChanged client event. Occurs when the value of the itemsSource property changes. (Inherited from C1.Web.Mvc.Fluent.ComboBoxBaseBuilder<T,TControl,TBuilder>)
Public MethodConfigurates the C1.Web.Mvc.Control.OnClientLostFocus client event. Occurs when the control loses the focus. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodConfigurates the C1.Web.Mvc.Control.OnClientRefreshed client event. Occurs after the control has refreshed its contents. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodConfigurates the C1.Web.Mvc.Control.OnClientRefreshing client event. Occurs when the control is about to refresh its contents. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodConfigurates the C1.Web.Mvc.ComboBoxBase<T>.OnClientSelectedIndexChanged client event. Occurs when the value of the SelectedIndex property changes. (Inherited from C1.Web.Mvc.Fluent.ComboBoxBaseBuilder<T,TControl,TBuilder>)
Public MethodConfigurates the C1.Web.Mvc.DropDown<T>.OnClientTextChanged client event. Occurs when the value of the Text property changes. (Inherited from C1.Web.Mvc.Fluent.DropDownBuilder<T,TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.MenuBase<T>.OpenOnHover. Gets or sets a value that determines whether the menu should open and close automatically when the mouse hovers over the items. (Inherited from C1.Web.Mvc.Fluent.MenuBaseBuilder<object,Menu,MenuBuilder>)
Public MethodConfigurates C1.Web.Mvc.MenuBase<T>.Owner. Sets the selector string of the element that owns this menu. (Inherited from C1.Web.Mvc.Fluent.MenuBaseBuilder<object,Menu,MenuBuilder>)
Public MethodConfigurates C1.Web.Mvc.DropDown<T>.Placeholder. Sets the string shown as a hint when the control is empty. (Inherited from C1.Web.Mvc.Fluent.DropDownBuilder<T,TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.ComboBoxBase<T>.SelectedIndex. Sets the index of the currently selected item in the drop-down list. (Inherited from C1.Web.Mvc.Fluent.ComboBoxBaseBuilder<T,TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.ComboBoxBase<T>.SelectedItem. Sets the item that is currently selected in the drop-down list. (Inherited from C1.Web.Mvc.Fluent.ComboBoxBaseBuilder<T,TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.ComboBoxBase<T>.SelectedValue. Sets the value of the SelectedValue, obtained using the SelectedValuePath. (Inherited from C1.Web.Mvc.Fluent.ComboBoxBaseBuilder<T,TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.ComboBoxBase<T>.SelectedValuePath. Sets the name of the property used to get the SelectedValue from the SelectedItem. (Inherited from C1.Web.Mvc.Fluent.ComboBoxBaseBuilder<T,TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.DropDown<T>.ShowDropDownButton. Sets a value indicating whether the control should display a drop-down button. (Inherited from C1.Web.Mvc.Fluent.DropDownBuilder<T,TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.ComboBoxBase<T>.ShowGroups. Sets a value that determines whether the drop-down should include group header items to delimit data groups. (Inherited from C1.Web.Mvc.Fluent.ComboBoxBaseBuilder<T,TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.MenuBase<T>.SubItemsPath. Sets the name of the property that contains an array with items to be displayed in a sub-menu. (Inherited from C1.Web.Mvc.Fluent.MenuBaseBuilder<object,Menu,MenuBuilder>)
Public MethodConfigurates the C1.Web.Mvc.Control.TemplateBindings client event. Sets the collection of the template bindings. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodConfigurates C1.Web.Mvc.DropDown<T>.Text. Sets the text shown on the control. (Inherited from C1.Web.Mvc.Fluent.DropDownBuilder<T,TControl,TBuilder>)
Public MethodGet an Html string. (Inherited from C1.Web.Mvc.Fluent.ComponentBuilder<TControl,TBuilder>)
Public MethodTransfer to the template mode. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Public MethodOverloaded. Configurates C1.Web.Mvc.Control.Width. Sets the width of the control. (Inherited from C1.Web.Mvc.Fluent.ControlBuilder<TControl,TBuilder>)
Top
Extension Methods
 NameDescription
Public Extension MethodRender the html string in template mode.
Top
See Also

Reference

MenuBuilder Class
C1.Web.Mvc.Fluent Namespace