[]
        
(Showing Draft Content)

C1.Blazor.Input.C1ComboBox-1

C1ComboBox<T> Class

C1ComboBox is an extension of DropDown that contains an editable textbox in the header and a listview in the drop-down.

Namespace: C1.Blazor.Input
Assembly: C1.Blazor.Input.dll
Syntax
public class C1ComboBox<T> : C1DropDown, IComponent, IHandleAfterRender, IHandleEvent, IDisposable, IDependencyObject
Type Parameters
Name Description
T

Constructors

Name Description
C1ComboBox()

Initializes a new instance of the C1ComboBox<T> class.

Fields

Name Description
AutoCompleteProperty

Identifies the AutoComplete dependency property.

DelayProperty

Identifies the Delay dependency property.

DisplayMemberPathProperty

Identifies the DisplayMemberPath dependency property.

EditorStyleProperty

Identifies the EditorStyle dependency property.

ItemTemplateProperty

Identifies the ItemTemplate dependency property.

ItemsSourceProperty

Identifies the ItemsSource dependency property.

ListItemStyleProperty

Identifies the ListItemStyle dependency property.

ListStyleProperty

Identifies the ListStyle dependency property.

PlaceholderProperty

Identifies the Placeholder dependency property.

SelectedIndexProperty

Identifies the SelectedIndex dependency property.

SelectedItemProperty

Identifies the SelectedItem dependency property.

SelectedValueProperty

Identifies the SelectedValue dependency property.

TextProperty

Identifies the Text dependency property.

ValueMemberPathProperty

Identifies the ValueMemberPath dependency property.

Properties

Name Description
AutoComplete

Gets or sets whether the control should try to automatically complete entries using the list of items.

DataCollection

Gets the collection that is bound to the list.

Delay

Gets or sets the delay that occurs between the key strokes and the auto-complete.

DisplayMemberPath

Gets or sets the name of the property to use as the visual representation of the items.

DropDownBehavior

Gets or sets the drop-down behavior.

EditorStyle

Gets or sets the style of the editor used to edit the selected item.

ItemTemplate

Gets or sets the item template.

Items

Gets the items that are shown in the list.

ItemsSource

Gets or sets the source collection that contains the items to select from.

ItemsSourceChanged

Gets or sets the callback called when the ItemsSource property has changed.

ListItemStyle

Gets or sets the style of the items of the list.

ListStyle

Gets or sets the style of the list of items.

Placeholder

Gets or sets the placeholder displayed when there is no entered text.

SelectedIndex

Gets or sets the index of the selected item.

SelectedIndexChanged

Gets or sets the callback called when the SelectedIndex property has changed.

SelectedItem

Gets or sets the current selected item.

SelectedItemChanged

Gets or sets the callback called when the SelectedItem property has changed.

SelectedValue

Gets or sets the value of the SelectedItem, obtained by using ValueMemberPath.

SelectedValueChanged

Gets or sets the callback called when the SelectedValue property has changed.

Text

Gets or sets the text of the control.

ValueMemberPath

Gets or sets the path that is used to get the value from the item.

Methods

Name Description
Dispose(bool)
FocusAsync()

Sets the focus in the control.

OnAfterRender(bool)
OnIsDropDownOpenChanged()

Called when IsDropDownOpen changed.

SetParametersAsync(ParameterView)