[]
ComboBox that looks the same in WPF and Silverlight and implements the IsEditable property in both platforms (the Silverlight ComboBox is not editable).
public class C1FlexComboBox : TextBox, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild
| Name | Description |
|---|---|
| C1FlexComboBox() | Initializes a new instance of a C1FlexComboBox. |
| Name | Description |
|---|---|
| DropDownItems | Gets or sets the list of items to show in the dropdown list. |
| IsDropDownEnabled | Gets or sets whether the user should be allowed to open the drop-down portion of the control. |
| IsDroppedDown | Indicates whether the dropdown is currently being displayed. |
| IsEditable | Gets or sets a value that determines whether the textbox is editable or restricted to the items in the DropDownItems collection. |
| ListBox | Gets a reference to the ListBox used to display the drop-down items. |
| MaxDropDownHeight | Gets or sets the maximum height of the dropdown in pixels. |
| SelectedIndex | Gets or sets the index of the item that is currently selected on the list. |
| Name | Description |
|---|---|
| OnApplyTemplate() | Overridden to remove focus/mouse borders and add dropdown button to regular TextBox template. |
| OnCreateAutomationPeer() | Gets an AutomationPeer object used for testing the control. |
| OnIsDroppedDownChanged(EventArgs) | Raises the IsDroppedDownChanged event. |
| OnLostFocus(RoutedEventArgs) | Overridden to close the drop-down when losing focus. |
| Name | Description |
|---|---|
| IsDroppedDownChanged | Occurs when the value of the IsDroppedDown property changes. |