You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Controls/AutoCompleteComboBox.md
+25-21Lines changed: 25 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,24 +36,27 @@ A specialised text field that allows a vocabulary to be added to guide or restri
36
36
37
37
## Properties
38
38
39
-
The properties of the Box Slider control are as follows:
39
+
The properties of the AutoComplete Combobox control are as follows:
40
40
41
41
Property | Description
42
42
|-|-|
43
-
*Disabled Text Color*|Color of the Autocomplete field when the control is disabled
44
-
*Available Options*|Array of text based options for the dropdown/selection
45
-
*Scroll Bar Width*|The width of the scrollbar when displayed
43
+
*Available Options*|Array of text based options for the dropdown/selection.
44
+
*Is Active*|Can the autocomplete combo box be activated by the user (dropped down) or is it disabled?
45
+
*Scroll Bar Width*|The width of the scrollbar when displayed.
46
46
*Items To Display*|Number of child items to display when opened. *Note default 0 shows NO items.
47
-
*Select First Item On Start*|Should the first item be auto selected on start
48
-
*Change Input Text based on Matching items*|Apply the below colors to the AutoComplete field based on user typing
49
-
*Dropdown Offset*|Offset height for the drop down window, to give enough space for items
50
-
*Valid Selection Text Color*|Color of the AutoComplete text if the full text appears in the list of options
51
-
*Matching Items Remaining Text Color*|Intermediate color of text when options contain the text entered
52
-
*No Items Remaining Text Color*|Text Color when the text entered does not match anything in the list
53
-
*Autocomplete Search Type)|Selects the search method for which to validate the panel items. Values Linq, Array Sort. Choose whichever performs best for your project.
54
-
*On Selection Text Changed* (event) |The Event fired when the the user is typing
55
-
*On Selection Validity Changed* (event) |The Event fired when the the text the user enters matches a selection
56
-
*On Selection Changed* (event) |The Event fired when the user selects an option or loses focus
47
+
*Change Input Text based on Matching items*|Apply the below colors to the AutoComplete field based on user typing.
48
+
*Valid Selection Text Color*|Color of the AutoComplete text if the full text appears in the list of options.
49
+
*Matching Items Remaining Text Color*|Intermediate color of text when options contain the text entered.
50
+
*No Items Remaining Text Color*|Text Color when the text entered does not match anything in the list.
51
+
*Autocomplete Search Type*|Selects the search method for which to validate the panel items. Values Linq, Array Sort. Choose whichever performs best for your project.
52
+
*Dropdown Offset*|Offset height for the drop down window, to give enough space for items.
53
+
*Display Panel Above*|Should the dropdown panel appear above the control instead of below?
54
+
*Select First Item On Start*|Should the first item be auto selected on start?
55
+
*Select Index Item on Start*|Which item should be selected on start. (*Select First Item on Start* will override this option)
56
+
*On Selection Text Changed* (event) |The Event fired when the the user is typing.
57
+
*On Selection Validity Changed* (event) |The Event fired when the the text the user enters matches a selection.
58
+
*On Selection Changed* (event) |The Event fired when the user selects an option or loses focus.
59
+
*On Control Disabled* (event) |The Event fired when the control is disabled through code.
57
60
58
61
> When managing the control programmatically, make sure you use the following functions to manage the ComboBox contents. **Do NOT update the 'AvailableOptions' list directly**
59
62
@@ -63,11 +66,12 @@ Property | Description
63
66
64
67
Method | Arguments | Description
65
68
|-|-|-|
66
-
AddItem|String|Adds a single item to the list
67
-
RemoveItem|String|Removes a single item from the list
68
-
SetAvailableOptions|List of String|Clears the current options and replaces with new list (array or List)
69
-
SetAvailableOptions|Array of String|Clears the current options and replaces with new list (array or List)
70
-
ResetItems|None|Clears all current options
69
+
*AddItem*|String|Adds a single item to the list
70
+
*RemoveItem*|String|Removes a single item from the list
71
+
*SelectItemIndex*|int|Sets the currently selected item in the list
72
+
*SetAvailableOptions*|List of String|Clears the current options and replaces with new list (array or List)
73
+
*SetAvailableOptions*|Array of String|Clears the current options and replaces with new list (array or List)
0 commit comments