DataRepeaterItemCloneEventArgs.Source Property
Gets the DataRepeaterItem from which the new DataRepeaterItem will be cloned.
Namespace: Microsoft.VisualBasic.PowerPacks
Assembly: Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)
Syntax
public DataRepeaterItem Source { get; }
public:
property DataRepeaterItem^ Source {
DataRepeaterItem^ get();
}
member Source : DataRepeaterItem with get
Public ReadOnly Property Source As DataRepeaterItem
Property Value
Type: Microsoft.VisualBasic.PowerPacks.DataRepeaterItem
The object from which the new object will be cloned.
Remarks
The Source property contains the DataRepeaterItem that is used as the source of the cloning operation. 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