[]
        
(Showing Draft Content)

C1.iOS.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.iOS.Input
Assembly: C1.iOS.Input.dll
Syntax
public class C1ComboBox : C1DropDown, IDependencyObject, IComponent, IDisposable, IFlowDirection

Constructors

Name Description
C1ComboBox()

Initializes a new instance of the C1ComboBox class.

C1ComboBox(IntPtr)

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.

TextFontProperty
TextProperty

Identifies the Text 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.

TextFont

Gets or sets the text font.

Methods

Name Description
CreateItemView(object)

Create the visual representation of an item.

Dispose(bool)
GetItemView(object)

Gets the visual representation of an item.

MovedToSuperview()

Indicates the UIKit.UIView has had its UIKit.UIView.Superview property changed.

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.