-
Notifications
You must be signed in to change notification settings - Fork 3
AutoCompleteBehavior
Back to home | Back to Reference | View raw text
Adds basic auto-complete behavior to text boxes via attached properties. Created by Nimgoble.
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph SolidShineUi
SolidShineUi.AutoCompleteBehavior[[AutoCompleteBehavior]]
end
Returns | Name |
---|---|
string |
GetAutoCompleteIndicator (DependencyObject obj)Get the string that, when typed, activates the auto-completion suggestions, such as "@". If this is null or empty, auto-complete suggestions will be supplied once any text is typed into the TextBox. |
IEnumerable <string > |
GetAutoCompleteItemsSource (DependencyObject obj)Return the string list/enumerable associated with a specified object; this list is used as the source for the auto complete list. |
StringComparison |
GetAutoCompleteStringComparison (DependencyObject obj)Get the string comparison method to utilize when supplying auto-completion suggestions. |
void |
SetAutoCompleteIndicator (DependencyObject obj, string value)Set the string that, when typed, activates the auto-completion suggestions, such as "@". If this is null or empty, auto-complete suggestions will be supplied once any text is typed into the TextBox. |
void |
SetAutoCompleteItemsSource (DependencyObject obj, IEnumerable <string > value) |
void |
SetAutoCompleteStringComparison (DependencyObject obj, StringComparison value)Set the string comparison method to utilize when supplying auto-completion suggestions. |
Adds basic auto-complete behavior to text boxes via attached properties. Created by Nimgoble.
public static IEnumerable<string> GetAutoCompleteItemsSource(DependencyObject obj)
Type | Name | Description |
---|---|---|
DependencyObject |
obj |
Return the string list/enumerable associated with a specified object; this list is used as the source for the auto complete list.
public static void SetAutoCompleteItemsSource(DependencyObject obj, IEnumerable<string> value)
Type | Name | Description |
---|---|---|
DependencyObject |
obj | |
IEnumerable <string > |
value |
public static StringComparison GetAutoCompleteStringComparison(DependencyObject obj)
Type | Name | Description |
---|---|---|
DependencyObject |
obj |
Get the string comparison method to utilize when supplying auto-completion suggestions.
public static void SetAutoCompleteStringComparison(DependencyObject obj, StringComparison value)
Type | Name | Description |
---|---|---|
DependencyObject |
obj | |
StringComparison |
value |
Set the string comparison method to utilize when supplying auto-completion suggestions.
public static string GetAutoCompleteIndicator(DependencyObject obj)
Type | Name | Description |
---|---|---|
DependencyObject |
obj |
Get the string that, when typed, activates the auto-completion suggestions, such as "@". If this is null or empty, auto-complete suggestions will be supplied once any text is typed into the TextBox.
public static void SetAutoCompleteIndicator(DependencyObject obj, string value)
Type | Name | Description |
---|---|---|
DependencyObject |
obj | |
string |
value |
Set the string that, when typed, activates the auto-completion suggestions, such as "@". If this is null or empty, auto-complete suggestions will be supplied once any text is typed into the TextBox.
Generated with ModularDoc