Provides Address Book selection and name resolution to a TextBox.
| C# |
public class AddressBookControlAdapter : IDisposable
| All Members | Constructors | Methods | Properties | Events | |
| Icon | Member | Description |
|---|---|---|
| AddressBookControlAdapter(DataPlaceDataSource, GridTableControl) |
Creates a new instance.
| |
| Attach(TextBoxBase) |
Attaches to controls, subscribing to several control events.
| |
| Detach()()() |
Detaches from controls, unsubscribing from control events.
| |
| Dispose()()() |
Disposes of the object.
| |
| Dispose(Boolean) |
Disposes of the object.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() |
Finalizes the object.
(Overrides Object.Finalize()()().) | |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsResolving |
Gets whether the name is being resolved.
| |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| OnResolveDone(EventArgs<(Of <(AddressBookEntry>)>)) |
Raises the ResolveDone event.
| |
| OnResolveStarted(EventArgs) |
Raises the ResolveStarted event.
| |
| OnSelectedItemChanged(EventArgs) |
Raises the SelectedItemChanged event.
| |
| Reset()()() |
Sets the state of the adapter to 'unchanged'.
| |
| ResolvedEvent |
Allows threads to wait for processing (e.g. resolving a name) to complete.
| |
| ResolveDone |
Occurs when a resolve operation is complete (whether or not it's successful).
| |
| ResolveIfNeeded()()() |
Resolves the name if it was changed by the user.
| |
| ResolveName()()() |
Resolves the name if possible.
| |
| ResolveStarted |
Occurs when a resolve operation has started. (Your handler should set TargetRecord.)
| |
| SelectedItem |
Gets or sets the selected item.
| |
| SelectedItemChanged |
Occurs when the selected item changes.
| |
| SelectedItems |
Gets or sets the selected items.
| |
| ShowSelectionDialog(Boolean) |
Shows a dialog allowing the user to select one or more entries.
(Before calling this method you should set TargetRecord to the target record.)
| |
| TargetRecord |
Gets or sets the record of the current or last resolve operation.
| |
| TargetRow |
Gets the row of the current or last resolve operation.
| |
| TargetRowGuid |
Gets the GUID of the target record/row.
| |
| Text |
Gets or sets the text displayed in the TextBox.
(Normally, this property should be used for data binding.)
| |
| TextBox |
Gets the control to which the adapter is attached.
| |
| ToString()()() | (Inherited from Object.) |
| Object | |
| AddressBookControlAdapter | |