HeaderPane
Main
Hide
Share Link
Print

AutoCompleteClass Class

An instance of the AutoCompleteClass class defines the autocomplete feature of a SftMask control.

As the user types, the control suggests earlier entries (kept in the file defined by the AutoCompleteClass.File property), file names or folder names. Autocomplete is not available for masks with numeric fields.

Namespace: Softelvdm.SftMaskNET
Assembly: Softelvdm.SftMaskNET

Inheritance

Syntax

public class AutoCompleteClass : System.ComponentModel.INotifyPropertyChanged;
Public Class AutoCompleteClass
    Implements System.ComponentModel.INotifyPropertyChanged

Constructors

This class cannot be instantiated.

Properties

PublicContentsDefines what is suggested.
PublicDefaultDirectoryDefines the folder whose files and folders are suggested while the input holds no folder.
PublicEncryptDefines whether the entries are stored scrambled instead of as plain text.
PublicFileDefines the file that keeps the earlier entries.
PublicIgnoreCaseDefines whether the input matches entries regardless of case.
PublicIsOpenReturns whether the autocomplete list is open.
PublicMaxEntriesDefines the maximum number of entries kept; the oldest entries are dropped.
PublicMaxShownDefines the maximum number of entries the list shows without scrolling (AutoCompleteClass.OptimalHeight property).
PublicModeDefines how the input is completed.
PublicOptimalHeightDefines whether the list's height fits its entries (up to AutoCompleteClass.MaxShown entries); otherwise the user's last size is used.
PublicShowOneDefines whether the list is shown for a single entry equal to the input.

Methods

PublicInherited from System.ObjectEqualsDetermines whether the specified object is equal to the current object.
ProtectedInherited from System.ObjectFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
PublicInherited from System.ObjectGetHashCodeServes as the default hash function.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicRefreshRebuilds the autocomplete list for the current input.
PublicSeedAdds entries to the file defined by the AutoCompleteClass.File property, keeping the entries already there.
PublicToStringReturns a string that represents the object.

Events

PublicPropertyChangedOccurs when a property of the autocomplete settings changes.

See Also Classes | SftMask/NET 3.0