Click or drag to resize

AutoCompleteTextBox Class

A generic AutoComplete and AutoSuggest Textbox. Used as base class of ShellAutoCompleteTextBox.
Inheritance Hierarchy

Namespace:  Jam.Shell.WPF.Controls
Assembly:  ShellBrowserWPF (in ShellBrowserWPF.dll) Version: 1.3.1
Syntax
public abstract class AutoCompleteTextBox : Control

The AutoCompleteTextBox type exposes the following members.

Constructors
  NameDescription
Protected methodAutoCompleteTextBox
Initializes a new instance of the AutoCompleteTextBox class
Top
Properties
  NameDescription
Public propertyDelay
Gets or sets the change delay between typing and refreshing the AutoSuggest list.
Public propertyDisplayMember
Gets or sets the display member, i.e. the property of the objects provided by Provider that should be displayed as text.
Protected propertyEditor
Gets or sets the component serving as editor.
Public propertyIconVisibility
Gets or sets the icon visibility.
Public propertyIsReadOnly
Gets or sets a value indicating whether this object is read only.
Protected propertyItemsSelector
Gets or sets the items selector.
Public propertyItemTemplate
Gets or sets the item template.
Public propertyItemTemplateSelector
Gets or sets the item template selector.
Public propertyLoadingContent
Gets or sets content that is displayed during loading of the autosuggestion list.
Protected propertyPopup
Gets or sets the popup.
Public propertyProvider
Gets or sets the provider that serves to gather the auto suggestion list.
Public propertySelectedItem
Gets or sets the selected item.
Public propertyText
Gets or sets the text of the control.
Top
Methods
  NameDescription
Public methodBeginUpdateText
Makes sure that no suggestions are gathered/diplayed.
Public methodEndUpdateText
Makes sure that no suggestions are gathered/diplayed.
Protected methodGetDisplayText
Gets display text using the BindingEvaluator with the DisplayMember.
Public methodIsUpdating
Makes sure that no suggestions are gathered/diplayed.
Public methodOnApplyTemplate
Gets some named parts of the tempate:
  • PART_Editor: a Textbox
  • PART_Popup: a Popup
  • PART_Selector: a Selector
Attaches some events for the collaboration of these controls.
(Overrides FrameworkElementOnApplyTemplate.)
Public methodStatic memberOnSelectedItemChanged
The selected item has changed.
Protected methodOnSelectionAdapterCancel
Called when the suggestion list is left without selection. Resets the Text property.
Protected methodOnSelectionAdapterCommit
Called when an element has been chosen and confirmed in the suggestion list. Synchronizes the Text property.
Protected methodOnSelectionAdapterSelectionChanged
Called when an element has been chosen in the suggestion list, but not commited yet. Synchronizes the Text property, sets cursor.
Protected methodSetEditorText
Silently sets editor text, i.e. without refreshing or displaying suggestions.
Top
Events
  NameDescription
Public eventItemSelected
Raised, when a new item was selected.
Top
Fields
  NameDescription
Public fieldStatic memberDelayProperty
The delay property.
Public fieldStatic memberDisplayMemberProperty
The property name to be displayed in the textbox.
Public fieldStatic memberIconVisibilityProperty
The icon visibility property. TODO: consider in ShellAutoCompleteTextBox
Public fieldStatic memberIsReadOnlyProperty
The is read only property.
Public fieldStatic memberItemTemplateProperty
The item template property. Holds the DataTemplate used for suggestions in the popup.
Public fieldStatic memberItemTemplateSelectorProperty
The item template selector property. Holds a DataTemplateSelector to select a matching ItemTemplate
Public fieldStatic memberLoadingContentProperty
The loading content property. Holds arbitrary content that is presented when the suggestion list is loaded.
Protected fieldStatic memberPartEditor
Name of the editor part in the control template.
Protected fieldStatic memberPartPopup
Name of the popup part in the control template.
Protected fieldStatic memberPartSelector
Name of the selector part in the control template.
Public fieldStatic memberProviderProperty
The provider property. Holds a ISuggestionProvider instance that provides auto complete suggestions.
Public fieldStatic memberSelectedItemProperty
The selected item property. Holds the item that was selected from the suggestion list.
Public fieldStatic memberTextProperty
The text property.
Top
See Also