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
'Declaration
Public ReadOnly Property Source As DataRepeaterItem
Get
public DataRepeaterItem Source { get; }
public:
property DataRepeaterItem^ Source {
DataRepeaterItem^ get ();
}
member Source : DataRepeaterItem
function get Source () : 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.
.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