DataRepeater
Wisej.Web.DataRepeater
Last updated
Wisej.Web.DataRepeater
Last updated
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Displays data in a customizable list format.
Initializes a new instance of the DataRepeater class.
Boolean: Returns or sets whether users can add a new row to the DataRepeater at run time.
Boolean: Returns or sets whether users can delete a row from the DataRepeater at run time.
BorderStyle: Returns or sets the border style for the DataRepeater control.
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.
Object: Returns or sets the data source for which the DataRepeater is displaying data.
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.
Int32: Returns or sets the number of items to prefetch outside of the visible area. The default is 0 (disabled).
Boolean: Enables or disables right-to-left layout when the value of RightToLeft is Yes
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.
Boolean: Returns or sets a value that indicates whether you have provided your own data-management operations for the DataRepeater control.
Adds a new DataRepeaterItem to the DataRepeater control.
Throws:
ReadOnlyException The AllowUserToAddItems property is set to False.
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.
Parameter | Type | Description |
---|---|---|
refreshChildren | True to also refresh all the children of this control. |
Removes a DataRepeaterItem at the specified position from a DataRepeater control.
Parameter | Type | Description |
---|---|---|
index | The index of the DataRepeaterItem. |
Throws:
ArgumentOutOfRangeException The value specified for index is less than 0 or greater than ItemCount - 1.
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.
Parameter | Type | Description |
---|---|---|
index | The index of the DataRepeaterItem. |
Throws:
ArgumentOutOfRangeException The value specified for index is less than 0 or greater than ItemCount - 1.
Scrolls a specified DataRepeaterItem into view, optionally aligning it with the top of the control.
Parameter | Type | Description |
---|---|---|
index | The index of the DataRepeaterItem. | |
alignWithTop | true to align the top of the DataRepeaterItem with the top of the control; otherwise, false. |
Throws:
ArgumentOutOfRangeException The value specified for index is less than 0 or greater than ItemCount - 1.
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.
Name | Description |
---|---|
Bindable components implement this interface. | |
Provides the functionality for a control to act as a parent for other controls. | |
All wisej components implement this interface. | |
All wisej controls derived from the Control class must implement this interface. | |
Allows an object to serialize itself. |