DataRepeaterItemCloneEventArgs.Target Property
Gets or sets the new DataRepeaterItem that is the result of the cloning operation.
Namespace: Microsoft.VisualBasic.PowerPacks
Assembly: Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)
Syntax
public DataRepeaterItem Target { get; set; }
public:
property DataRepeaterItem^ Target {
DataRepeaterItem^ get();
void set(DataRepeaterItem^ value);
}
member Target : DataRepeaterItem with get, set
Public Property Target As DataRepeaterItem
Property Value
Type: Microsoft.VisualBasic.PowerPacks.DataRepeaterItem
The cloned object.
Remarks
The Target will be cloned based on the ItemTemplate properties, unless you override them in the ItemCloning event.
Use the ItemCloning event to run custom code before cloning or to override the cloning process. This event occurs before the DataRepeaterItem and its controls are cloned from the ItemTemplate.
Note
If you want to make minor changes to the cloning process, consider using the ItemCloned event instead.
See Also
ItemCloning
DataRepeaterItemCloneEventArgs Class
Microsoft.VisualBasic.PowerPacks Namespace
Introduction to the DataRepeater Control (Visual Studio)
Return to top