DataRepeater Class
Displays data in a customizable list format.
Namespace: Microsoft.VisualBasic.PowerPacks
Assembly: Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)
Syntax
'Declaration
<ComplexBindingPropertiesAttribute("DataSource", "DataMember")> _
<DefaultBindingPropertyAttribute("")> _
<DockingAttribute(DockingBehavior.Ask)> _
<ToolboxBitmapAttribute(GetType(DataRepeater), "Microsoft.VisualBasic.PowerPacks.DataRepeater.bmp")> _
Public Class DataRepeater _
Inherits ContainerControl
'Usage
Dim instance As DataRepeater
[ComplexBindingPropertiesAttribute("DataSource", "DataMember")]
[DefaultBindingPropertyAttribute("")]
[DockingAttribute(DockingBehavior.Ask)]
[ToolboxBitmapAttribute(typeof(DataRepeater), "Microsoft.VisualBasic.PowerPacks.DataRepeater.bmp")]
public class DataRepeater : ContainerControl
[ComplexBindingPropertiesAttribute(L"DataSource", L"DataMember")]
[DefaultBindingPropertyAttribute(L"")]
[DockingAttribute(DockingBehavior::Ask)]
[ToolboxBitmapAttribute(typeof(DataRepeater), L"Microsoft.VisualBasic.PowerPacks.DataRepeater.bmp")]
public ref class DataRepeater : public ContainerControl
public class DataRepeater extends ContainerControl
Remarks
The DataRepeater control functions as a scrollable container for controls that display repeated data, for example, rows in a database table. It can be used as an alternative to the DataGridView control when you need more control over the layout of the data.
You can use a DataRepeater control to display data with or without an underlying data source. For more information, see How to: Display Bound Data in a DataRepeater Control (Visual Studio).
Without specifying a data source, you can create rows that contain data and add them to the DataRepeater.
When working with large amounts of data, you can set the VirtualMode property to True to display a subset of the available data. Virtual mode requires the implementation of a data cache from which the DataRepeater control is populated. For more information, see Virtual Mode in the DataRepeater Control (Visual Studio).
For additional information about the features available in the DataRepeater control, see Introduction to the DataRepeater Control (Visual Studio).
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.ScrollableControl
System.Windows.Forms.ContainerControl
Microsoft.VisualBasic.PowerPacks.DataRepeater
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualBasic.PowerPacks Namespace
Other Resources
Introduction to the DataRepeater Control (Visual Studio)
How to: Display Bound Data in a DataRepeater Control (Visual Studio)
How to: Display Unbound Data in a DataRepeater Control (Visual Studio)
How to: Change the Layout of a DataRepeater Control (Visual Studio)
How to: Change the Appearance of a DataRepeater Control (Visual Studio)
How to: Display Item Headers in a DataRepeater Control (Visual Studio)
How to: Disable Adding and Deleting DataRepeater Items (Visual Studio)
How to: Search Data in a DataRepeater Control (Visual Studio)
How to: Create a Master/Detail Form by Using Two DataRepeater Controls (Visual Studio)
Walkthrough: Displaying Data in a DataRepeater Control (Visual Studio)