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
'Declaration
Public Property Target As DataRepeaterItem
public DataRepeaterItem Target { get; set; }
public:
property DataRepeaterItem^ Target {
DataRepeaterItem^ get ();
void set (DataRepeaterItem^ value);
}
member Target : DataRepeaterItem with get, set
function get Target () : DataRepeaterItem
function set Target (value : 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DataRepeaterItemCloneEventArgs Class
Microsoft.VisualBasic.PowerPacks Namespace