Returns the autocomplete settings.
Class: SftMask
Namespace: Softelvdm.SftMaskNET
Assembly: Softelvdm.SftMaskNET
public AutoCompleteClass AutoComplete { get; }
Public ReadOnly Property AutoComplete As AutoCompleteClass
The AutoCompleteClass instance.
Returns the autocomplete settings.
sftMaskIP.Text = "192168001001";
// Numbers are set as values, so they do not depend on the culture's separators.
sftMaskAmount.Value = 1234.5m;
sftMaskPercent.Value = 25;
sftMaskQuantity.Value = 10;
sftMaskColor.Value = 0x2E8B57;
// The city field suggests earlier entries, starting with a few cities.
sftMaskCity.AutoComplete.Seed(new string[] { "Orlando", "Ocala", "Ocoee", "Oviedo", "Orange City", "Miami", "Tampa", "Tallahassee" });
foreach (SftMask field in fields) {
field.Enter += Field_Enter;
field.TextChanged += Field_TextChanged;
}
foreach (string name in new string[] { "en-US", "de-DE", "fr-FR", "hi-IN", "ja-JP" })
SftMaskIP.Text = "192168001001"
' Numbers are set as values, so they do not depend on the culture's separators.
SftMaskAmount.Value = 1234.5D
SftMaskPercent.Value = 25
SftMaskQuantity.Value = 10
SftMaskColor.Value = &H2E8B57
' The city field suggests earlier entries, starting with a few cities.
SftMaskCity.AutoComplete.Seed(New String() {"Orlando", "Ocala", "Ocoee", "Oviedo", "Orange City", "Miami", "Tampa", "Tallahassee"})
For Each field As SftMask In fields
AddHandler field.Enter, AddressOf Field_Enter
AddHandler field.TextChanged, AddressOf Field_TextChanged
Next
For Each name As String In New String() {"en-US", "de-DE", "fr-FR", "hi-IN", "ja-JP"}See Also SftMask Class | Classes | SftMask/NET 3.0