[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.ComboBoxBaseBuilder-3

ComboBoxBaseBuilder<T, TControl, TBuilder> Class

Defines a builder to configurate ComboBoxBase<T>.

Inheritance
HideObjectMembers
BaseBuilder<TControl, TBuilder>
ComponentBuilder<TControl, TBuilder>
ControlBuilder<TControl, TBuilder>
ItemsBoundControlBuilder<T, TControl, TBuilder>
DropDownBuilder<T, TControl, TBuilder>
ComboBoxBaseBuilder<T, TControl, TBuilder>
Implements
Namespace: C1.Web.Mvc.Fluent
Assembly: C1.Web.Mvc.dll
Syntax
public abstract class ComboBoxBaseBuilder<T, TControl, TBuilder> : DropDownBuilder<T, TControl, TBuilder>, IHtmlString where TControl : ComboBoxBase<T> where TBuilder : ComboBoxBaseBuilder<T, TControl, TBuilder>
Type Parameters
Name Description
T
TControl
TBuilder

Constructors

Name Description
ComboBoxBaseBuilder(TControl)

Creates one ComboBoxBaseBuilder<T, TControl, TBuilder> instance to configurate component.

Methods

Name Description
CaseSensitiveSearch(bool)

Configurates CaseSensitiveSearch. Sets a value that determines whether searches performed while the user types should case-sensitive.

DisplayMemberPath(string)

Configurates DisplayMemberPath. Sets the name of the property to use as the visual representation of the items.

HandleWheel(bool)

Configurates HandleWheel. Sets a value that determines whether the user can use the mouse wheel to change the currently selected item.

HeaderPath(string)

Configurates HeaderPath. Sets the name of a property to use for getting the value displayed in the control's input element.

IsContentHtml(bool)

Configurates IsContentHtml. Sets a value indicating whether the drop-down list displays items as plain text or as HTML.

IsEditable(bool)

Configurates IsEditable. Sets a value that enables or disables editing of the text in the input element of the ComboBox (defaults to false).

IsRequired(bool)

Configurates IsRequired. Sets a value that determines whether the control value must be set to a non-null value or whether it can be set to null (by deleting the content of the control).

ItemFormatter(string)

Configurates ItemFormatter. Sets a function used to customize the values shown in the drop-down list.

ItemTemplateContent(string)

Configurates ItemTemplateContent. Sets the content of the template used to generate each list item.

ItemTemplateId(string)

Configurates ItemTemplateId. Sets the id of the template used to generate each list item.

MaxDropDownHeight(double)

Configurates MaxDropDownHeight. Sets the maximum height of the drop-down list.

MaxDropDownWidth(double)

Configurates MaxDropDownWidth. Sets the maximum width of the drop-down list.

OnClientFormatItem(string)

Configurates the OnClientFormatItem client event. Event that fires when items in the drop-down list are created.

OnClientItemsSourceChanged(string)

Configurates the OnClientItemsSourceChanged client event. Occurs when the value of the itemsSource property changes.

OnClientSelectedIndexChanged(string)

Configurates the OnClientSelectedIndexChanged client event. Occurs when the value of the SelectedIndex property changes.

SelectedIndex(int)

Configurates SelectedIndex. Sets the index of the currently selected item in the drop-down list.

SelectedItem(T)

Configurates SelectedItem. Sets the item that is currently selected in the drop-down list.

SelectedValue(object)

Configurates SelectedValue. Sets the value of the SelectedValue, obtained using the SelectedValuePath.

SelectedValuePath(string)

Configurates SelectedValuePath. Sets the name of the property used to get the SelectedValue from the SelectedItem.

ShowGroups(bool)

Configurates ShowGroups. Sets a value that determines whether the drop-down should include group header items to delimit data groups.

VirtualizationThreshold(int)

Configurates VirtualizationThreshold. Sets the minimum number of rows and/or columns required to enable virtualization in the ComboBox

Extension Methods