AutoCompleteTextBox Class |
Namespace: Jam.Shell.WPF.Controls
The AutoCompleteTextBox type exposes the following members.
Name | Description | |
---|---|---|
AutoCompleteTextBox | Initializes a new instance of the AutoCompleteTextBox class |
Name | Description | |
---|---|---|
Delay | Gets or sets the change delay between typing and refreshing the AutoSuggest list. | |
DisplayMember | Gets or sets the display member, i.e. the property of the objects provided by Provider that should be displayed as text. | |
Editor | Gets or sets the component serving as editor. | |
IconVisibility | Gets or sets the icon visibility. | |
IsReadOnly | Gets or sets a value indicating whether this object is read only. | |
ItemsSelector | Gets or sets the items selector. | |
ItemTemplate | Gets or sets the item template. | |
ItemTemplateSelector | Gets or sets the item template selector. | |
LoadingContent | Gets or sets content that is displayed during loading of the autosuggestion list. | |
Popup | Gets or sets the popup. | |
Provider | Gets or sets the provider that serves to gather the auto suggestion list. | |
SelectedItem | Gets or sets the selected item. | |
Text | Gets or sets the text of the control. |
Name | Description | |
---|---|---|
BeginUpdateText | Makes sure that no suggestions are gathered/diplayed. | |
EndUpdateText | Makes sure that no suggestions are gathered/diplayed. | |
GetDisplayText | Gets display text using the BindingEvaluator with the DisplayMember. | |
IsUpdating | Makes sure that no suggestions are gathered/diplayed. | |
OnApplyTemplate |
Gets some named parts of the tempate:
(Overrides FrameworkElementOnApplyTemplate.)
| |
OnSelectedItemChanged | The selected item has changed. | |
OnSelectionAdapterCancel | Called when the suggestion list is left without selection. Resets the Text property. | |
OnSelectionAdapterCommit | Called when an element has been chosen and confirmed in the suggestion list. Synchronizes the Text property. | |
OnSelectionAdapterSelectionChanged | Called when an element has been chosen in the suggestion list, but not commited yet. Synchronizes the Text property, sets cursor. | |
SetEditorText | Silently sets editor text, i.e. without refreshing or displaying suggestions. |
Name | Description | |
---|---|---|
ItemSelected | Raised, when a new item was selected. |
Name | Description | |
---|---|---|
DelayProperty | The delay property. | |
DisplayMemberProperty | The property name to be displayed in the textbox. | |
IconVisibilityProperty | The icon visibility property. TODO: consider in ShellAutoCompleteTextBox | |
IsReadOnlyProperty | The is read only property. | |
ItemTemplateProperty | The item template property. Holds the DataTemplate used for suggestions in the popup. | |
ItemTemplateSelectorProperty | The item template selector property. Holds a DataTemplateSelector to select a matching ItemTemplate | |
LoadingContentProperty | The loading content property. Holds arbitrary content that is presented when the suggestion list is loaded. | |
PartEditor | Name of the editor part in the control template. | |
PartPopup | Name of the popup part in the control template. | |
PartSelector | Name of the selector part in the control template. | |
ProviderProperty | The provider property. Holds a ISuggestionProvider instance that provides auto complete suggestions. | |
SelectedItemProperty | The selected item property. Holds the item that was selected from the suggestion list. | |
TextProperty | The text property. |