DataRepeater

Wisej.Web.DataRepeater

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Displays data in a customizable list format.

public class DataRepeater : ContainerControl, ISupportInitialize

Constructors

Initializes a new instance of the DataRepeater class.

Properties

Boolean: Returns or sets whether users can add a new row to the DataRepeater at run time. (Default: True)

Boolean: Returns or sets whether users can delete a row from the DataRepeater at run time. (Default: True)

BorderStyle: Returns or sets the border style for the DataRepeater control. (Default: Solid)

DataRepeaterItem: Returns the current DataRepeaterItem in the DataRepeater control.

Int32: Returns or sets the index of the current DataRepeaterItem in a DataRepeater control.

String: Return or sets the name of the list or table in the data source for which the DataRepeater is displaying data. (Default: "")

Object: Returns or sets the data source for which the DataRepeater is displaying data. (Default: null)

DataRepeaterItem[]: Returns the list of DataRepeaterItem items currently displayed on the client.

Int32: Return the index of the first currently displayed DataRepeaterItem in a DataRepeater control.

Boolean: Return whether the data for a DataRepeaterItem in the DataRepeater control has been changed by a user.

BorderStyle: Returns or sets the border style for the items in a DataRepeater control.

Int32: Returns or sets the number of DataRepeaterItem items that are in the DataRepeater control.

Int32: Return sets the size of the item header in a DataRepeater control.

Boolean: Returns or sets whether item headers are displayed in a DataRepeater control.

Color: Returns or sets the background color for the DataRepeaterItem panel when it's the CurrentItem.

Size: Returns or sets the size of the DataRepeaterItem child panels.

DataRepeaterItem: Returns the template that represents the DataRepeaterItem for the DataRepeater control.

DataRepeaterLayoutStyles: Return or sets whether the DataRepeater control will be displayed with a vertical or horizontal orientation. (Default: Vertical)

Int32: Returns or sets the number of items to prefetch outside of the visible area. The default is 0 (disabled). (Default: 0)

Boolean: Enables or disables right-to-left layout when the value of RightToLeft is Yes (Default: False)

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)

Boolean: Returns or sets a value that indicates whether you have provided your own data-management operations for the DataRepeater control. (Default: False)

Methods

Adds a new DataRepeaterItem to the DataRepeater control.

Throws:

Allows users to cancel an edit to the current child control in the current DataRepeaterItem.

Forces a full reload of the data displayed by this DataRepeater.

Forces a full reload of the data displayed by this DataRepeater.

ParameterTypeDescription

refreshChildren

True to also refresh all the children of this control.

Removes a DataRepeaterItem at the specified position from a DataRepeater control.

ParameterTypeDescription

index

The index of the DataRepeaterItem.

Throws:

Resets the value of ItemBorderStyle to the original value.

Resets the value of ItemHeaderSize to the original value.

Resets the value of ItemHeaderVisible to the original value.

Scrolls the specified DataRepeaterItem into view.

ParameterTypeDescription

index

The index of the DataRepeaterItem.

Throws:

Scrolls a specified DataRepeaterItem into view, optionally aligning it with the top of the control.

ParameterTypeDescription

index

The index of the DataRepeaterItem.

alignWithTop

true to align the top of the DataRepeaterItem with the top of the control; otherwise, false.

Throws:

Events

EventHandler Fired when the AllowUserToAddItems property changes.

EventHandler Fired when the AllowUserToDeleteItems property changes.

EventHandler Fired when the property CurrentItemIndex changes.

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.

EventHandler Fired when the DataMember property changes.

EventHandler Fired when the DataSource property changes.

DataRepeaterItemEventHandler Fired after the DataRepeaterItem and its controls are cloned from the ItemTemplate.

DataRepeaterItemCloneEventHandler Fired before the DataRepeaterItem and its controls are cloned from the ItemTemplate.

DataRepeaterAddRemoveItemsEventHandler Fired when a new DataRepeaterItem is added to the DataRepeater control.

DataRepeaterItemEventHandler Fired after the DataRepeaterItem becomes the current item.

DataRepeaterAddRemoveItemsEventHandler Fired when a DataRepeaterItem is deleted from the DataRepeater control.

DataRepeaterItemEventHandler Fired when an instance of DataRepeaterItem is updated.

DataRepeaterItemValueEventHandler Fired when the VirtualMode property is set to true and a new value for a child control of a DataRepeaterItem is needed.

DataRepeaterItemValueEventHandler Fired when the VirtualMode property is set to true and the value of a child control in the DataRepeaterItem changes.

EventHandler Fired when the LayoutStyle property changes.

EventHandler Fired when the VirtualMode property is set to true and the user creates a new DataRepeaterItem.

DataRepeaterAddRemoveItemsEventHandler Fired when the user adds a new DataRepeaterItem.

DataRepeaterAddRemoveItemsEventHandler Fired after the user deletes a DataRepeaterItem.

DataRepeaterAddRemoveItemsCancelEventHandler Fired when the user deletes a DataRepeaterItem.

EventHandler Fired when the VirtualMode property changes.

Implements

NameDescription

Bindable components implement this interface.

Provides the functionality for a control to act as a parent for other controls.

Controls that support drag & drop operations implement this interface.

All wisej components implement this interface.

All wisej controls derived from the Control class must implement this interface.

Allows an object to serialize itself.

Last updated