# DataRepeater

URL: https://docs.wisej.com/api/wisej.web/containers/datarepeater

Version: 4.1
Namespace: **Wisej.Web**

Assembly: **Wisej.Framework** (4.1.0.0)

- Control
- ScrollableControl
- ContainerControl
- DataRepeater
Displays data in a customizable list format.

- C# - VB.NET

```csharp
public class DataRepeater : ContainerControl, ISupportInitialize
```

```visual
Public Class DataRepeater
    Inherits ContainerControl
    Implements ISupportInitialize
```

## Constructors

### ![Instance member](/img/api/instance.png) DataRepeater()

Initializes a new instance of theDataRepeater class.

## Properties

### ![Instance member](/img/api/instance.png) AllowUserToAddItems

[Boolean](https://docs.microsoft.com/dotnet/api/system.boolean) : Returns or sets whether users can add a new row to theDataRepeater at run time. (Default: `True` )

### ![Instance member](/img/api/instance.png) AllowUserToDeleteItems

[Boolean](https://docs.microsoft.com/dotnet/api/system.boolean) : Returns or sets whether users can delete a row from theDataRepeater at run time. (Default: `True` )

### ![Instance member](/img/api/instance.png) AutoSize

[Boolean](https://docs.microsoft.com/dotnet/api/system.boolean) : Returns or sets a value that indicates whether the control resizes based on its contents. (Default: `False` )

### ![Instance member](/img/api/instance.png) AutoSizeMode

[AutoSizeMode](/api/wisej.web/enumerations/wisej.web.autosizemode) : Indicates the automatic sizing behavior of the control. (Default: `GrowOnly` )

### ![Instance member](/img/api/instance.png) BorderStyle

[BorderStyle](/api/wisej.web/enumerations/wisej.web.borderstyle) : Returns or sets the border style for theDataRepeater control. (Default: `Solid` )

### ![Instance member](/img/api/instance.png) ClientArea

[Rectangle](https://docs.microsoft.com/dotnet/api/system.drawing.rectangle) : Returns the client rectangle to use in the designer.

### ![Instance member](/img/api/instance.png) CurrentItem

[DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) : Returns the current [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) in theDataRepeater control. (Default: `null` )

### ![Instance member](/img/api/instance.png) CurrentItemIndex

[Int32](https://docs.microsoft.com/dotnet/api/system.int32) : Returns or sets the index of the current [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) in aDataRepeater control. (Default: `-1` )

### ![Instance member](/img/api/instance.png) DataMember

[String](https://docs.microsoft.com/dotnet/api/system.string) : Return or sets the name of the list or table in the data source for which theDataRepeater is displaying data. (Default: `""` )

### ![Instance member](/img/api/instance.png) DataSource

[Object](https://docs.microsoft.com/dotnet/api/system.object) : Returns or sets the data source for which theDataRepeater is displaying data. (Default: `null` )

### ![Instance member](/img/api/instance.png) DisplayedItems

[DataRepeaterItem[]](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) : Returns the list of [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) items currently displayed on the client.

### ![Instance member](/img/api/instance.png) DisplayRectangle

[Rectangle](https://docs.microsoft.com/dotnet/api/system.drawing.rectangle) :

### ![Instance member](/img/api/instance.png) FirstDisplayedItemIndex

[Int32](https://docs.microsoft.com/dotnet/api/system.int32) : Return the index of the first currently displayed [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) in aDataRepeater control. (Default: `0` )

### ![Instance member](/img/api/instance.png) IsCurrentItemModified

[Boolean](https://docs.microsoft.com/dotnet/api/system.boolean) : Return whether the data for a [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) in theDataRepeater control has been changed by a user. (Default: `False` )

### ![Instance member](/img/api/instance.png) ItemBorderStyle

[BorderStyle](/api/wisej.web/enumerations/wisej.web.borderstyle) : Returns or sets the border style for the items in aDataRepeater control.

Default value is BorderStyle.Solid

### ![Instance member](/img/api/instance.png) ItemCount

[Int32](https://docs.microsoft.com/dotnet/api/system.int32) : Returns or sets the number of [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) items that are in theDataRepeater control. (Default: `0` )

### ![Instance member](/img/api/instance.png) ItemHeaderSize

[Int32](https://docs.microsoft.com/dotnet/api/system.int32) : Return sets the size of the item header in aDataRepeater control.

### ![Instance member](/img/api/instance.png) ItemHeaderVisible

[Boolean](https://docs.microsoft.com/dotnet/api/system.boolean) : Returns or sets whether item headers are displayed in aDataRepeater control.

The default value is true.

### ![Instance member](/img/api/instance.png) ItemSelectedBackColor

[Color](https://docs.microsoft.com/dotnet/api/system.drawing.color) : Returns or sets the background color for the [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) panel when it's the [CurrentItem](/api/wisej.web/containers/datarepeater/#currentitem) .

### ![Instance member](/img/api/instance.png) ItemSelectedForeColor

[Color](https://docs.microsoft.com/dotnet/api/system.drawing.color) : Returns or sets the text color for the [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) panel when it's the [CurrentItem](/api/wisej.web/containers/datarepeater/#currentitem) .

### ![Instance member](/img/api/instance.png) ItemSize

[Size](https://docs.microsoft.com/dotnet/api/system.drawing.size) : Returns or sets the size of the [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) child panels.

### ![Instance member](/img/api/instance.png) ItemTemplate

[DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) : Returns the template that represents the [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) for theDataRepeater control.

The default value is a Wisej.Web.DataRepeaterItem with BorderStyle: None

### ![Instance member](/img/api/instance.png) LayoutStyle

[DataRepeaterLayoutStyles](/api/wisej.web/containers/datarepeater/wisej.web.datarepeaterlayoutstyles) : Return or sets whether theDataRepeater control will be displayed with a vertical or horizontal orientation. (Default: `Vertical` )

### ![Instance member](/img/api/instance.png) PrefetchItems

[Int32](https://docs.microsoft.com/dotnet/api/system.int32) : Returns or sets the number of items to prefetch outside of the visible area. The default is 0 (disabled). (Default: `0` )

### ![Instance member](/img/api/instance.png) RightToLeftLayout

[Boolean](https://docs.microsoft.com/dotnet/api/system.boolean) : Enables or disables right-to-left layout when the value of [RightToLeft](/api/wisej.web/general/control/#righttoleft) is [Yes](/api/wisej.web/enumerations/wisej.web.righttoleft#fields) (Default: `False` )

### ![Instance member](/img/api/instance.png) ScrollBarVisible

[Boolean](https://docs.microsoft.com/dotnet/api/system.boolean) : Returns or sets whether the scrollbar is visible. When the scrollbar is hidden, the user can still scroll using touch events, the keyboard, or the wheel. (Default: `True` )

### ![Instance member](/img/api/instance.png) VirtualMode

[Boolean](https://docs.microsoft.com/dotnet/api/system.boolean) : Returns or sets a value that indicates whether you have provided your own data-management operations for theDataRepeater control. (Default: `False` )

## Methods

### ![Instance member](/img/api/instance.png) AddNew()

Adds a new [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) to theDataRepeater control.

### ![Instance member](/img/api/instance.png) CancelEdit()

Allows users to cancel an edit to the current child control in the current [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) .

### ![Instance member](/img/api/instance.png) FocusActiveControl()

Selects the active control. If the active control is not focusable, it selects the next focusable control.

### ![Protected member](/img/api/protected.png) GetThemeStateName()

**Returns:**[String](https://docs.microsoft.com/dotnet/api/system.string) .

### ![Protected member](/img/api/protected.png) OnAllowUserToAddItemsChanged(e)

Fires the [AllowUserToAddItemsChanged](/api/wisej.web/containers/datarepeater/#allowusertoadditemschanged) event.

| Parameter | Type | Description | **e** | [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) | A [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) that contains the event data. 

### ![Protected member](/img/api/protected.png) OnAllowUserToDeleteItemsChanged(e)

Fires the [AllowUserToDeleteItemsChanged](/api/wisej.web/containers/datarepeater/#allowusertodeleteitemschanged) event.

| Parameter | Type | Description | **e** | [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) | A [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) that contains the event data. 

### ![Protected member](/img/api/protected.png) OnBindingContextChanged(e)

Fires the [BindingContextChanged](/api/wisej.web/general/control/#bindingcontextchanged) event.

| Parameter | Type | Description | **e** | [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) | A [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) that contains the event data. 

### ![Protected member](/img/api/protected.png) OnCreateControl()

### ![Protected member](/img/api/protected.png) OnCurrentItemIndexChanged(e)

Fires the [CurrentItemIndexChanged](/api/wisej.web/containers/datarepeater/#currentitemindexchanged) event.

| Parameter | Type | Description | **e** | [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) | An [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) object that contains the event data. 

### ![Protected member](/img/api/protected.png) OnDataError(e)

Fires the [DataError](/api/wisej.web/containers/datarepeater/#dataerror) event.

| Parameter | Type | Description | **e** | [DataRepeaterDataErrorEventArgs](/api/wisej.web/containers/datarepeater/wisej.web.datarepeaterdataerroreventargs) | An instance of [DataRepeaterDataErrorEventArgs](/api/wisej.web/containers/datarepeater/wisej.web.datarepeaterdataerroreventargs) that contains the event data. 

### ![Protected member](/img/api/protected.png) OnDataMemberChanged(e)

Fires the [DataMemberChanged](/api/wisej.web/containers/datarepeater/#datamemberchanged) event.

| Parameter | Type | Description | **e** | [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) | A [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) that contains the event data. 

### ![Protected member](/img/api/protected.png) OnDataSourceChanged(e)

Fires the [DataSourceChanged](/api/wisej.web/containers/datarepeater/#datasourcechanged) event.

| Parameter | Type | Description | **e** | [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) | A [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) that contains the event data. 

### ![Protected member](/img/api/protected.png) OnItemCloned(e)

Fires the [ItemCloned](/api/wisej.web/containers/datarepeater/#itemcloned) event.

| Parameter | Type | Description | **e** | [DataRepeaterItemEventArgs](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritemeventargs) | An [DataRepeaterItemEventArgs](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritemeventargs) object that contains the event data. 

### ![Protected member](/img/api/protected.png) OnItemCloning(e)

Fires the [ItemCloning](/api/wisej.web/containers/datarepeater/#itemcloning) event.

| Parameter | Type | Description | **e** | [DataRepeaterItemCloneEventArgs](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritemcloneeventargs) | An [DataRepeaterItemCloneEventArgs](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritemcloneeventargs) object that contains the event data. 

### ![Protected member](/img/api/protected.png) OnItemsAdded(e)

Fires the [ItemsAdded](/api/wisej.web/containers/datarepeater/#itemsadded) event.

| Parameter | Type | Description | **e** | [DataRepeaterAddRemoveItemsEventArgs](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateraddremoveitemseventargs) | An [DataRepeaterAddRemoveItemsEventArgs](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateraddremoveitemseventargs) object that contains the event data. 

### ![Protected member](/img/api/protected.png) OnItemSelected(e)

Fires the [ItemSelected](/api/wisej.web/containers/datarepeater/#itemselected) event.

| Parameter | Type | Description | **e** | [DataRepeaterItemEventArgs](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritemeventargs) | An [DataRepeaterItemEventArgs](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritemeventargs) object that contains the event data. 

### ![Protected member](/img/api/protected.png) OnItemsRemoved(e)

Fires the [ItemsRemoved](/api/wisej.web/containers/datarepeater/#itemsremoved) event.

| Parameter | Type | Description | **e** | [DataRepeaterAddRemoveItemsEventArgs](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateraddremoveitemseventargs) | An [DataRepeaterAddRemoveItemsEventArgs](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateraddremoveitemseventargs) object that contains the event data. 

### ![Protected member](/img/api/protected.png) OnItemUpdate(e)

Fires the [ItemUpdate](/api/wisej.web/containers/datarepeater/#itemupdate) event.

| Parameter | Type | Description | **e** | [DataRepeaterItemEventArgs](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritemeventargs) | An [DataRepeaterItemEventArgs](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritemeventargs) object that contains the event data. 

### ![Protected member](/img/api/protected.png) OnItemValueNeeded(e)

Fires the [ItemValueNeeded](/api/wisej.web/containers/datarepeater/#itemvalueneeded) event.

| Parameter | Type | Description | **e** | [DataRepeaterItemValueEventArgs](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritemvalueeventargs) | An [DataRepeaterItemValueEventArgs](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritemvalueeventargs) object that contains the event data. 

### ![Protected member](/img/api/protected.png) OnItemValuePushed(e)

Fires the [ItemValueNeeded](/api/wisej.web/containers/datarepeater/#itemvalueneeded) event.

| Parameter | Type | Description | **e** | [DataRepeaterItemValueEventArgs](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritemvalueeventargs) | An [DataRepeaterItemValueEventArgs](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritemvalueeventargs) object that contains the event data. 

### ![Protected member](/img/api/protected.png) OnLayoutStyleChanged(e)

Fires the [LayoutStyleChanged](/api/wisej.web/containers/datarepeater/#layoutstylechanged) event.

| Parameter | Type | Description | **e** | [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) | A [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) that contains the event data. 

### ![Protected member](/img/api/protected.png) OnNewItemNeeded(e)

Fires the [NewItemNeeded](/api/wisej.web/containers/datarepeater/#newitemneeded) event.

| Parameter | Type | Description | **e** | [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) | An [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) object that contains the event data. 

### ![Protected member](/img/api/protected.png) OnUserAddedItems(e)

Fires the [UserAddedItems](/api/wisej.web/containers/datarepeater/#useraddeditems) event.

| Parameter | Type | Description | **e** | [DataRepeaterAddRemoveItemsEventArgs](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateraddremoveitemseventargs) | An [DataRepeaterAddRemoveItemsEventArgs](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateraddremoveitemseventargs) object that contains the event data. 

### ![Protected member](/img/api/protected.png) OnUserDeletedItems(e)

Fires the [UserDeletedItems](/api/wisej.web/containers/datarepeater/#userdeleteditems) event.

| Parameter | Type | Description | **e** | [DataRepeaterAddRemoveItemsEventArgs](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateraddremoveitemseventargs) | An [DataRepeaterAddRemoveItemsEventArgs](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateraddremoveitemseventargs) object that contains the event data. 

### ![Protected member](/img/api/protected.png) OnUserDeletingItems(e)

Fires the [UserDeletingItems](/api/wisej.web/containers/datarepeater/#userdeletingitems) event.

| Parameter | Type | Description | **e** | [DataRepeaterAddRemoveItemsCancelEventArgs](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateraddremoveitemscanceleventargs) | An [DataRepeaterAddRemoveItemsCancelEventArgs](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateraddremoveitemscanceleventargs) object that contains the event data. 

### ![Protected member](/img/api/protected.png) OnValidating(e)

Fires the [Validating](/api/wisej.web/general/control/#validating) event.

| Parameter | Type | Description | **e** | [CancelEventArgs](https://docs.microsoft.com/dotnet/api/system.componentmodel.canceleventargs) | A [CancelEventArgs](https://docs.microsoft.com/dotnet/api/system.componentmodel.canceleventargs) that contains the event data. 

### ![Protected member](/img/api/protected.png) OnVirtualModeChanged(e)

Fires the [VirtualModeChanged](/api/wisej.web/containers/datarepeater/#virtualmodechanged) event.

| Parameter | Type | Description | **e** | [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) | A [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) that contains the event data. 

### ![Protected member](/img/api/protected.png) OnWebEvent(e)

Processes the event from the client.

| Parameter | Type | Description | **e** | WisejEventArgs | Event arguments. 

### ![Protected member](/img/api/protected.png) OnWebRender(config)

Renders the client component.

| Parameter | Type | Description | **config** | [Object](https://docs.microsoft.com/dotnet/api/system.object) | Dynamic configuration object. 

### ![Protected member](/img/api/protected.png) OnWebUpdate(state)

Updates the client component using the state information.

| Parameter | Type | Description | **state** | [Object](https://docs.microsoft.com/dotnet/api/system.object) | Dynamic state object. 

### ![Instance member](/img/api/instance.png) Refresh()

Forces a full reload of the data displayed by thisDataRepeater .

### ![Instance member](/img/api/instance.png) Refresh(refreshChildren)

Forces a full reload of the data displayed by thisDataRepeater .

| Parameter | Type | Description | **refreshChildren** | [Boolean](https://docs.microsoft.com/dotnet/api/system.boolean) | True to also refresh all the children of this control. 

### ![Instance member](/img/api/instance.png) RemoveAt(index)

Removes a [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) at the specified position from aDataRepeater control.

| Parameter | Type | Description | **index** | [Int32](https://docs.microsoft.com/dotnet/api/system.int32) | The index of the [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) . 

**Throws:**

- [ArgumentOutOfRangeException](https://docs.microsoft.com/dotnet/api/system.argumentoutofrangeexception) The value specified for *index* is less than 0 or greater than [ItemCount](/api/wisej.web/containers/datarepeater/#itemcount) - 1.

### ![Protected member](/img/api/protected.png) RenderScrollableProperties(config)

| Parameter | Type | Description | **config** | [Object](https://docs.microsoft.com/dotnet/api/system.object) | 

### ![Instance member](/img/api/instance.png) ResetItemBorderStyle()

Resets the value of [ItemBorderStyle](/api/wisej.web/containers/datarepeater/#itemborderstyle) to the original value.

### ![Instance member](/img/api/instance.png) ResetItemHeaderSize()

Resets the value of [ItemHeaderSize](/api/wisej.web/containers/datarepeater/#itemheadersize) to the original value.

### ![Instance member](/img/api/instance.png) ResetItemHeaderVisible()

Resets the value of [ItemHeaderVisible](/api/wisej.web/containers/datarepeater/#itemheadervisible) to the original value.

### ![Instance member](/img/api/instance.png) ScrollItemIntoView(index)

Scrolls the specified [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) into view.

| Parameter | Type | Description | **index** | [Int32](https://docs.microsoft.com/dotnet/api/system.int32) | The index of the [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) . 

**Throws:**

- [ArgumentOutOfRangeException](https://docs.microsoft.com/dotnet/api/system.argumentoutofrangeexception) The value specified for *index* is less than 0 or greater than [ItemCount](/api/wisej.web/containers/datarepeater/#itemcount) - 1.

### ![Instance member](/img/api/instance.png) ScrollItemIntoView(index, alignWithTop)

Scrolls a specified [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) into view, optionally aligning it with the top of the control.

| Parameter | Type | Description | **index** | [Int32](https://docs.microsoft.com/dotnet/api/system.int32) | The index of the [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) . | **alignWithTop** | [Boolean](https://docs.microsoft.com/dotnet/api/system.boolean) | true to align the top of the [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) with the top of the control; otherwise, false. 

**Throws:**

- [ArgumentOutOfRangeException](https://docs.microsoft.com/dotnet/api/system.argumentoutofrangeexception) The value specified for *index* is less than 0 or greater than [ItemCount](/api/wisej.web/containers/datarepeater/#itemcount) - 1.

### ![Protected member](/img/api/protected.png) SetBoundsCore(x, y, width, height, specified)

| Parameter | Type | Description | **x** | [Int32](https://docs.microsoft.com/dotnet/api/system.int32) | | **y** | [Int32](https://docs.microsoft.com/dotnet/api/system.int32) | | **width** | [Int32](https://docs.microsoft.com/dotnet/api/system.int32) | | **height** | [Int32](https://docs.microsoft.com/dotnet/api/system.int32) | | **specified** | [BoundsSpecified](/api/wisej.web/enumerations/wisej.web.boundsspecified) | 

## Events

### ![Instance member](/img/api/instance.png) AllowUserToAddItemsChanged

[EventHandler](https://docs.microsoft.com/dotnet/api/system.eventhandler) Fired when the [AllowUserToAddItems](/api/wisej.web/containers/datarepeater/#allowusertoadditems) property changes.

### ![Instance member](/img/api/instance.png) AllowUserToDeleteItemsChanged

[EventHandler](https://docs.microsoft.com/dotnet/api/system.eventhandler) Fired when the [AllowUserToDeleteItems](/api/wisej.web/containers/datarepeater/#allowusertodeleteitems) property changes.

### ![Instance member](/img/api/instance.png) CurrentItemIndexChanged

[EventHandler](https://docs.microsoft.com/dotnet/api/system.eventhandler) Fired when the property [CurrentItemIndex](/api/wisej.web/containers/datarepeater/#currentitemindex) changes.

### ![Instance member](/img/api/instance.png) DataError

[DataRepeaterDataErrorEventHandler](/api/wisej.web/containers/datarepeater/wisej.web.datarepeaterdataerroreventhandler) Fired when an external data-parsing or validation operation throws an exception, or when an attempt to commit data to a data source fails.

### ![Instance member](/img/api/instance.png) DataMemberChanged

[EventHandler](https://docs.microsoft.com/dotnet/api/system.eventhandler) Fired when the [DataMember](/api/wisej.web/containers/datarepeater/#datamember) property changes.

### ![Instance member](/img/api/instance.png) DataSourceChanged

[EventHandler](https://docs.microsoft.com/dotnet/api/system.eventhandler) Fired when the [DataSource](/api/wisej.web/containers/datarepeater/#datasource) property changes.

### ![Instance member](/img/api/instance.png) ItemCloned

[DataRepeaterItemEventHandler](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritemeventhandler) Fired after the [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) and its controls are cloned from the [ItemTemplate](/api/wisej.web/containers/datarepeater/#itemtemplate) .

### ![Instance member](/img/api/instance.png) ItemCloning

[DataRepeaterItemCloneEventHandler](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritemcloneeventhandler) Fired before the [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) and its controls are cloned from the [ItemTemplate](/api/wisej.web/containers/datarepeater/#itemtemplate) .

### ![Instance member](/img/api/instance.png) ItemsAdded

[DataRepeaterAddRemoveItemsEventHandler](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateraddremoveitemseventhandler) Fired when a new [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) is added to theDataRepeater control.

### ![Instance member](/img/api/instance.png) ItemSelected

[DataRepeaterItemEventHandler](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritemeventhandler) Fired after the [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) becomes the current item.

### ![Instance member](/img/api/instance.png) ItemsRemoved

[DataRepeaterAddRemoveItemsEventHandler](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateraddremoveitemseventhandler) Fired when a [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) is deleted from theDataRepeater control.

### ![Instance member](/img/api/instance.png) ItemUpdate

[DataRepeaterItemEventHandler](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritemeventhandler) Fired when an instance of [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) is updated.

### ![Instance member](/img/api/instance.png) ItemValueNeeded

[DataRepeaterItemValueEventHandler](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritemvalueeventhandler) Fired when the [VirtualMode](/api/wisej.web/containers/datarepeater/#virtualmode) property is set to true and a new value for a child control of a [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) is needed.

### ![Instance member](/img/api/instance.png) ItemValuePushed

[DataRepeaterItemValueEventHandler](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritemvalueeventhandler) Fired when the [VirtualMode](/api/wisej.web/containers/datarepeater/#virtualmode) property is set to true and the value of a child control in the [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) changes.

### ![Instance member](/img/api/instance.png) LayoutStyleChanged

[EventHandler](https://docs.microsoft.com/dotnet/api/system.eventhandler) Fired when the [LayoutStyle](/api/wisej.web/containers/datarepeater/#layoutstyle) property changes.

### ![Instance member](/img/api/instance.png) NewItemNeeded

[EventHandler](https://docs.microsoft.com/dotnet/api/system.eventhandler) Fired when the [VirtualMode](/api/wisej.web/containers/datarepeater/#virtualmode) property is set to true and the user creates a new [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) .

### ![Instance member](/img/api/instance.png) UserAddedItems

[DataRepeaterAddRemoveItemsEventHandler](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateraddremoveitemseventhandler) Fired when the user adds a new [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) .

### ![Instance member](/img/api/instance.png) UserDeletedItems

[DataRepeaterAddRemoveItemsEventHandler](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateraddremoveitemseventhandler) Fired after the user deletes a [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) .

### ![Instance member](/img/api/instance.png) UserDeletingItems

[DataRepeaterAddRemoveItemsCancelEventHandler](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateraddremoveitemscanceleventhandler) Fired when the user deletes a [DataRepeaterItem](/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) .

### ![Instance member](/img/api/instance.png) VirtualModeChanged

[EventHandler](https://docs.microsoft.com/dotnet/api/system.eventhandler) Fired when the [VirtualMode](/api/wisej.web/containers/datarepeater/#virtualmode) property changes.

## Implements

| Name | Description | [IUserData](/api/wisej.web/interfaces/wisej.web.iuserdata) | Provides access to the `UserData` and `Tag` properties associated to the component implementing this interface. | [IBindableComponent](/api/wisej.web/data-binding/wisej.web.ibindablecomponent) | Bindable components implement this interface. | [IContainerControl](/api/wisej.web/interfaces/wisej.web.icontainercontrol) | Provides the functionality for a control to act as a parent for other controls. | [IDropTarget](/api/wisej.web/interfaces/wisej.web.idroptarget) | Controls that support drag & drop operations implement this interface. | [IWisejComponent](/api/wisej.core/interfaces/wisej.core.iwisejcomponent) | All wisej components implement this interface. | [IWisejControl](/api/wisej.core/interfaces/wisej.core.iwisejcontrol) | All wisej controls derived from theControl class must implement this interface. | [IWisejSerializable](/api/wisej.core/interfaces/wisej.core.iwisejserializable) | Allows an object to serialize itself.
