[]
        
(Showing Draft Content)

C1.Android.Input.C1ComboBox

C1ComboBox Class

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

Inheritance
C1ComboBox
Implements
IComponent
IDisposable
Namespace: C1.Android.Input
Assembly: C1.Android.Input.dll
Syntax
public class C1ComboBox : C1DropDown, IDependencyObject, IComponent, IDisposable, IFlowDirection

Constructors

Name Description
C1ComboBox(Context)

Initializes a new instance of the C1ComboBox class.

C1ComboBox(Context, IAttributeSet)

Initializes a new instance of the C1ComboBox class.

Fields

Name Description
AutoCompleteProperty

Identifies the AutoComplete dependency property.

DisplayMemberPathProperty

Identifies the DisplayMemberPath dependency property.

ItemsSourceProperty

Identifies the ItemsSource dependency property.

PlaceholderProperty

Identifies the Placeholder dependency property.

SelectedBackgroundColorProperty

Identifies the SelectedBackgroundColor dependency property.

SelectedIndexProperty

Identifies the SelectedIndex dependency property.

SelectedItemProperty

Identifies the SelectedItem dependency property.

SelectedValuePathProperty

Identifies the SelectedValuePath dependency property.

SelectedValueProperty

Identifies the SelectedValue dependency property.

TextAlignmentProperty

Identifies the TextAlignment dependency property.

TextColorProperty

Identifies the TextColor dependency property.

TextProperty

Identifies the Text dependency property.

TextSizeProperty

Identifies the TextSize dependency property.

TextTextSizeProperty
TextTypefaceProperty
TypefaceProperty

Identifies the Typeface 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 underlying collection.

DisplayMemberPath

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

ItemsSource

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

Placeholder

Gets or sets the string shown as a hint when the control is empty.

SelectedBackgroundColor

Gets or sets the selected background color.

SelectedIndex

Gets or sets the index of the selected item.

SelectedItem

Gets or sets the current selected item.

SelectedValue

Gets or sets the value of the currently selected item using SelectedValuePath.

SelectedValuePath

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

Text

Gets or sets the text of the control.

TextAlignment

Gets or sets the alignment of input text.

TextColor

Gets or sets the text color.

TextSize

Gets or sets the text size of the control's text.

TextTextSize

Gets or sets the font size for the text.

TextTypeface

Gets or sets the text typeface.

Typeface

Gets or sets the type face of the control's text.

Methods

Name Description
CreateItemView(object)

Create the visual representation of an item.

Dispose(bool)
GetItemView(object)

Gets the visual representation of an item.

OnAttachedToWindow()
OnCollectionChanged(object, NotifyCollectionChangedEventArgs)
OnCompleted(CompletedEventArgs)
OnItemLoading(ComboBoxItemLoadingEventArgs)

Raises the ItemLoading event.

OnSelectedIndexChanged(EventArgs)

Raises the SelectedIndexChanged event.

OnSelectedValuePropertyChanged(object, object)

Handle selectedValue property changed event.

OnTextChanged(TextChangedEventArgs)

Raises the TextChanged event.

SelectAll()

Sets the focus to the control and selects all of its contents.

Events

Name Description
Completed

Occurs when the SelectedDate or SelectedDates properties change.

ItemLoading

Event raised before an item view is created.

SelectedIndexChanged

Event raised before the SelectedIndexproperty changes.

TextChanged

Event raised before the Textproperty changes.