Export (0) Print
Expand All

DataRepeater Class

Displays data in a customizable list format.

Namespace:  Microsoft.VisualBasic.PowerPacks
Assembly:  Microsoft.VisualBasic.PowerPacks (in Microsoft.VisualBasic.PowerPacks.dll)

[ComplexBindingPropertiesAttribute("DataSource", "DataMember")]
[DefaultBindingPropertyAttribute("")]
[DockingAttribute(DockingBehavior.Ask)]
[ToolboxBitmapAttribute(typeof(DataRepeater), "Microsoft.VisualBasic.PowerPacks.DataRepeater.bmp")]
public class DataRepeater : ContainerControl

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.

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.

For additional information about the features available in the DataRepeater control, see Introduction to the DataRepeater Control.

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Windows.Forms.Control
        System.Windows.Forms.ScrollableControl
          System.Windows.Forms.ContainerControl
            Microsoft.VisualBasic.PowerPacks.DataRepeater

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft