KaxListBoxTransfer Method (KaxListBoxItem, KaxListBox, KaxListBox) |
Transfers the specified item from the source list box to the destination listbox.
Fires the
Transferring and
Transferred events.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic void Transfer(
KaxListBoxItem item,
KaxListBox sourceListBox,
KaxListBox destinationListBox
)
Public Sub Transfer (
item As KaxListBoxItem,
sourceListBox As KaxListBox,
destinationListBox As KaxListBox
)
public:
void Transfer(
KaxListBoxItem^ item,
KaxListBox^ sourceListBox,
KaxListBox^ destinationListBox
)
member Transfer :
item : KaxListBoxItem *
sourceListBox : KaxListBox *
destinationListBox : KaxListBox -> unit
Parameters
- item
- Type: Kettic.AspNet.ControlsKaxListBoxItem
The item to transfer. - sourceListBox
- Type: Kettic.AspNet.ControlsKaxListBox
The source list box. - destinationListBox
- Type: Kettic.AspNet.ControlsKaxListBox
The destination list box.
Remarks
Always call the Transfer method of the KaxListBox whose
TransferToID property is set!
The Transfer method updates the underlying datasource if the
AllowAutomaticUpdates is set to
true.
Examples
The following example demonstrates how to use the Transfer method
KaxListBox1.TransferToID = "KaxListBox2";
KaxListBox1.Transfer(KaxListBox1.Items[0], KaxListBox1, KaxListBox2);
KaxListBox1.Transfer(KaxListBox2.Items[0], KaxListBox2, KaxListBox1);
KaxListBox1.TransferToID = "KaxListBox2"
KaxListBox1.Transfer(KaxListBox1.Items(0), KaxListBox1, KaxListBox2)
KaxListBox1.Transfer(KaxListBox2.Items(0), KaxListBox2, KaxListBox1);
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also