All pages
Powered by GitBook
1 of 15

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

DataRepeaterAddRemoveItemsCancelEventHandler

Wisej.Web.DataRepeaterAddRemoveItemsCancelEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the method that handles the UserDeletingItems event.

public delegate void DataRepeaterAddRemoveItemsCancelEventHandler(Object sender, DataRepeaterAddRemoveItemsCancelEventArgs e)
Public Delegate Sub DataRepeaterAddRemoveItemsCancelEventHandler(ByVal sender As [Object], ByVal e As DataRepeaterAddRemoveItemsCancelEventArgs)

Parameters

Name
Type
Description

Fired By

Name
Description

DataRepeaterAddRemoveItemsCancelEventArgs

Wisej.Web.DataRepeaterAddRemoveItemsCancelEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Provides data for the UserDeletingItems event.

public class DataRepeaterAddRemoveItemsCancelEventArgs : CancelEventArgs
Public Class DataRepeaterAddRemoveItemsCancelEventArgs
    Inherits CancelEventArgs

Constructors

DataRepeaterAddRemoveItemsCancelEventArgs(index, count)

Initializes a new instance of the class.

Name
Type
Description

Properties

ItemCount

: Gets the number of items being deleted.

ItemIndex

: Returns the index of the item that is being deleted.

Used By

Name
Description

DataRepeaterAddRemoveItemsEventArgs

Wisej.Web.DataRepeaterAddRemoveItemsEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Provides data for the , , , and events.

sender

Object

The source of the event.

e

DataRepeaterAddRemoveItemsCancelEventArgs

An object that contains the event data.

DataRepeater.UserDeletingItems

Fired when the user deletes a DataRepeaterItem.

index

Int32

The index of the DataRepeaterItem that is being deleted.

count

Int32

The number of items being deleted.

DataRepeaterAddRemoveItemsCancelEventHandler

Represents the method that handles the UserDeletingItems event.

DataRepeaterAddRemoveItemsCancelEventArgs
Int32
Int32
Constructors

DataRepeaterAddRemoveItemsEventArgs(index, count)

Initializes a new instance of the DataRepeaterAddRemoveItemsEventArgs class.

Name
Type
Description

index

The index of the that is being added or deleted.

count

The number of items being added or deleted.

Properties

ItemCount

Int32: Return the number of items being added to or deleted from a DataRepeater control.

ItemIndex

Int32: Returns the index of the item being added or deleted.

Used By

Name
Description

Represents the method that will handle the , , , and events.

ItemsAdded
ItemsRemoved
UserAddedItems
UserDeletedItems
Public Class DataRepeaterAddRemoveItemsEventArgs
    Inherits EventArgs
public class DataRepeaterAddRemoveItemsEventArgs : EventArgs

DataRepeaterLayoutStyles

Wisej.Web.DataRepeaterLayoutStyles

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Provides an enumeration for specifying the orientation of items in a DataRepeater control.

public enum DataRepeaterLayoutStyles : Enum
Public Enum DataRepeaterLayoutStyles As [Enum]

Fields

Name
Description

Used By

Name
Description

DataRepeaterAddRemoveItemsEventHandler

Wisej.Web.DataRepeaterAddRemoveItemsEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the method that will handle the , , , and events.

DataRepeaterItemCloneEventHandler

Wisej.Web.DataRepeaterItemCloneEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the method that will handle the event.

Parameters

DataRepeaterItemEventArgs

Wisej.Web.DataRepeaterItemEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Provides data for the event.

Constructors

DataRepeaterDataErrorEventHandler

Wisej.Web.DataRepeaterDataErrorEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the method that will handle the event.

Parameters

Horizontal

Items are displayed in a horizontal format. A horizontal scroll bar will be displayed as necessary.

Vertical

Items are displayed in a vertical format. A vertical scroll bar will be displayed as necessary.

DataRepeater.LayoutStyle

Return or sets whether the DataRepeater control will be displayed with a vertical or horizontal orientation.

Int32
DataRepeaterItem
Int32
DataRepeaterAddRemoveItemsEventHandler
ItemsAdded
ItemsRemoved
UserAddedItems
UserDeletedItems
Parameters
Name
Type
Description

sender

The source of the event.

e

An object that contains the event data.

Fired By

Name
Description

Fired when a new is added to the control.

Fired when a is deleted from the control.

Fired when the user adds a new .

Fired after the user deletes a .

ItemsAdded
ItemsRemoved
UserAddedItems
UserDeletedItems
Public Delegate Sub DataRepeaterAddRemoveItemsEventHandler(ByVal sender As [Object], ByVal e As DataRepeaterAddRemoveItemsEventArgs)
public delegate void DataRepeaterAddRemoveItemsEventHandler(Object sender, DataRepeaterAddRemoveItemsEventArgs e)
Name
Type
Description

sender

The source of the event.

e

A object that contains the event data.

Fired By

Name
Description

Fired before the and its controls are cloned from the .

ItemCloning
Public Delegate Sub DataRepeaterItemCloneEventHandler(ByVal sender As [Object], ByVal e As DataRepeaterItemCloneEventArgs)
public delegate void DataRepeaterItemCloneEventHandler(Object sender, DataRepeaterItemCloneEventArgs e)
DataRepeaterItemEventArgs(item)

Initializes a new instance of the DataRepeaterItemEventArgs class.

Name
Type
Description

item

The cloned from the object.

Properties

DataRepeaterItem

DataRepeaterItem: Returns a DataRepeaterItem instance that triggered the event.

Used By

Name
Description

Represents the method that will handle the event.

ItemCloned
Public Class DataRepeaterItemEventArgs
    Inherits EventArgs
public class DataRepeaterItemEventArgs : EventArgs
Name
Type
Description

sender

The source of the event.

e

A object that contains the event data.

Fired By

Name
Description

Fired when an external data-parsing or validation operation throws an exception, or when an attempt to commit data to a data source fails.

DataError
Public Delegate Sub DataRepeaterDataErrorEventHandler(ByVal sender As [Object], ByVal e As DataRepeaterDataErrorEventArgs)
public delegate void DataRepeaterDataErrorEventHandler(Object sender, DataRepeaterDataErrorEventArgs e)

DataRepeaterItemCloneEventArgs

Wisej.Web.DataRepeaterItemCloneEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Provides data for the ItemCloning event.

public class DataRepeaterItemCloneEventArgs : EventArgs
Public Class DataRepeaterItemCloneEventArgs
    Inherits EventArgs

Constructors

DataRepeaterItemCloneEventArgs(source)

Initializes a new instance of the class.

Name
Type
Description

Properties

Handled

: Gets or sets a value that specifies whether the cloning is handled by the developer.

Source

: Gets the from which the new will be cloned.

Target

: Gets or sets the new that is the result of the cloning operation.

Used By

Name
Description

DataRepeaterItemValueEventHandler

Wisej.Web.DataRepeaterItemValueEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the method that will handle the ItemValueNeeded and ItemValuePushed events.

public delegate void DataRepeaterItemValueEventHandler(Object sender, DataRepeaterItemValueEventArgs e)
Public Delegate Sub DataRepeaterItemValueEventHandler(ByVal sender As [Object], ByVal e As DataRepeaterItemValueEventArgs)

Parameters

Name
Type
Description

Fired By

Name
Description

DataRepeaterItemEventHandler

Wisej.Web.DataRepeaterItemEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the method that will handle the ItemCloned event.

public delegate void DataRepeaterItemEventHandler(Object sender, DataRepeaterItemEventArgs e)
Public Delegate Sub DataRepeaterItemEventHandler(ByVal sender As [Object], ByVal e As DataRepeaterItemEventArgs)

Parameters

Name
Type
Description

Fired By

Name
Description

sender

Object

The source of the event.

e

DataRepeaterItemValueEventArgs

A DataRepeaterItemValueEventArgs object that contains the event data.

DataRepeater.ItemValueNeeded

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

DataRepeater.ItemValuePushed

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

sender

Object

The source of the event.

e

DataRepeaterItemEventArgs

A DataRepeaterItemEventArgs object that contains the event data.

DataRepeater.ItemCloned

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

DataRepeater.ItemSelected

Fired after the DataRepeaterItem becomes the current item.

DataRepeater.ItemUpdate

Fired when an instance of DataRepeaterItem is updated.

Object
DataRepeaterAddRemoveItemsEventArgs
DataRepeater.ItemsAdded
DataRepeaterItem
DataRepeater
DataRepeater.ItemsRemoved
DataRepeaterItem
DataRepeater
DataRepeater.UserAddedItems
DataRepeaterItem
DataRepeater.UserDeletedItems
DataRepeaterItem
Object
DataRepeaterItemCloneEventArgs
DataRepeaterItemCloneEventArgs
DataRepeater.ItemCloning
DataRepeaterItem
ItemTemplate
Object
DataRepeaterDataErrorEventArgs
DataRepeaterDataErrorEventArgs
DataRepeater.DataError

source

DataRepeaterItem

The ItemTemplate from which the new item will be cloned.

DataRepeaterItemCloneEventHandler

Represents the method that will handle the ItemCloning event.

DataRepeaterItemCloneEventArgs
Boolean
DataRepeaterItem
DataRepeaterItem
DataRepeaterItem
DataRepeaterItem
DataRepeaterItem
DataRepeaterItem
ItemTemplate
ItemTemplate
DataRepeaterItemEventHandler
ItemCloned

DataRepeaterItem

Wisej.Web.DataRepeaterItem

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

DataRepeaterDataErrorEventArgs

Wisej.Web.DataRepeaterDataErrorEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Provides data for the event.

Constructors

DataRepeaterItemValueEventArgs

Wisej.Web.DataRepeaterItemValueEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Provides data for the and events.

Panel

  • DataRepeaterItem

Used by the DataRepeater control to display data at run time.

public class DataRepeaterItem : Panel
Public Class DataRepeaterItem
    Inherits Panel

Constructors

DataRepeaterItem()

Initializes a new instance of the DataRepeaterItem object.

Properties

IsCurrent

Boolean: Return a value that determines whether a DataRepeaterItem is the currently selected item in a DataRepeater control.

ItemIndex

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

Modified

Boolean: Returns value that determines whether the data for a DataRepeaterItem in a DataRepeater control has been changed by the user.

Implements

Name
Description

Bindable components implement this interface.

Provides access to common image properties across the controls that implement this interface.

All wisej components implement this interface.

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

Allows an object to serialize itself.

Control
ScrollableControl
DataRepeaterDataErrorEventArgs(item, control, property, ex)

Initializes a new instance of the DataRepeaterDataErrorEventArgs class.

Name
Type
Description

item

The on which the error occurred.

control

The on the on which the error occurred.

property

The property on which the error occurred. For most controls, this will be the property.

Throws:

  • ArgumentNullException ex is null.

Properties

Control

Control: Gets the Control that raised the data error.

DataRepeaterItem

DataRepeaterItem: Gets the DataRepeaterItem that raised the data error.

Exception

Exception: Gets the Exception that represents the error.

PropertyName

String: Gets the name of the property of the control that raised the error.

ThrowException

Boolean: Gets or sets a value that indicates whether to throw an exception after code execution exits the DataError event handler.

Used By

Name
Description

Represents the method that will handle the event.

DataError
Public Class DataRepeaterDataErrorEventArgs
    Inherits EventArgs
public class DataRepeaterDataErrorEventArgs : EventArgs
Constructors

DataRepeaterItemValueEventArgs(itemIndex, control, propertyName, value)

Initializes a new instance of the DataRepeaterItemValueEventArgs class.

Name
Type
Description

itemIndex

The index of the that contains the control that is raising the event.

control

The child control that is raising the event.

propertyName

The property of the control that has changed or that needs data.

Properties

Control

Control: Gets the child control of a DataRepeaterItem that is raising the ItemValueNeeded or ItemValuePushed event.

ItemIndex

Int32: Gets the index of the DataRepeaterItem that contains the control that is raising the ItemValueNeeded or ItemValuePushed event.

PropertyName

String: Gets the name of the data-bound property of the control that is raising a ItemValueNeeded or ItemValuePushed event.

Value

Object: Gets the property value that has changed to raise a ItemValueNeeded or ItemValuePushed event.

Used By

Name
Description

Represents the method that will handle the and events.

ItemValueNeeded
ItemValuePushed
Public Class DataRepeaterItemValueEventArgs
    Inherits EventArgs
public class DataRepeaterItemValueEventArgs : EventArgs

DataRepeater

Wisej.Web.DataRepeater

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

  • Control

    • ScrollableControl

Displays data in a customizable list format.

Constructors

DataRepeater()

Initializes a new instance of the class.

Properties

AllowUserToAddItems

: Returns or sets whether users can add a new row to the at run time.

AllowUserToDeleteItems

: Returns or sets whether users can delete a row from the at run time.

BorderStyle

: Returns or sets the border style for the control.

CurrentItem

: Returns the current in the control.

CurrentItemIndex

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

DataMember

: Return or sets the name of the list or table in the data source for which the is displaying data.

DataSource

: Returns or sets the data source for which the is displaying data.

DisplayedItems

: Returns the list of items currently displayed on the client.

FirstDisplayedItemIndex

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

IsCurrentItemModified

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

ItemBorderStyle

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

ItemCount

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

ItemHeaderSize

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

ItemHeaderVisible

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

ItemSelectedBackColor

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

ItemSize

: Returns or sets the size of the child panels.

ItemTemplate

: Returns the template that represents the for the control.

LayoutStyle

: Return or sets whether the control will be displayed with a vertical or horizontal orientation.

PrefetchItems

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

RightToLeftLayout

: Enables or disables right-to-left layout when the value of is

ScrollBarVisible

: 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.

VirtualMode

: Returns or sets a value that indicates whether you have provided your own data-management operations for the control.

Methods

AddNew()

Adds a new to the control.

Throws:

  • The property is set to False.

CancelEdit()

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

Refresh()

Forces a full reload of the data displayed by this .

Refresh(refreshChildren)

Forces a full reload of the data displayed by this .

Parameter
Type
Description

RemoveAt(index)

Removes a at the specified position from a control.

Parameter
Type
Description

Throws:

  • The value specified for index is less than 0 or greater than - 1.

ResetItemBorderStyle()

Resets the value of to the original value.

ResetItemHeaderSize()

Resets the value of to the original value.

ResetItemHeaderVisible()

Resets the value of to the original value.

ScrollItemIntoView(index)

Scrolls the specified into view.

Parameter
Type
Description

Throws:

  • The value specified for index is less than 0 or greater than - 1.

ScrollItemIntoView(index, alignWithTop)

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

Parameter
Type
Description

Throws:

  • The value specified for index is less than 0 or greater than - 1.

Events

AllowUserToAddItemsChanged

Fired when the property changes.

AllowUserToDeleteItemsChanged

Fired when the property changes.

CurrentItemIndexChanged

Fired when the property changes.

DataError

Fired when an external data-parsing or validation operation throws an exception, or when an attempt to commit data to a data source fails.

DataMemberChanged

Fired when the property changes.

DataSourceChanged

Fired when the property changes.

ItemCloned

Fired after the and its controls are cloned from the .

ItemCloning

Fired before the and its controls are cloned from the .

ItemsAdded

Fired when a new is added to the control.

ItemSelected

Fired after the becomes the current item.

ItemsRemoved

Fired when a is deleted from the control.

ItemUpdate

Fired when an instance of is updated.

ItemValueNeeded

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

ItemValuePushed

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

LayoutStyleChanged

Fired when the property changes.

NewItemNeeded

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

UserAddedItems

Fired when the user adds a new .

UserDeletedItems

Fired after the user deletes a .

UserDeletingItems

Fired when the user deletes a .

VirtualModeChanged

Fired when the property changes.

Implements

Name
Description
IBindableComponent
IImage
IWisejComponent
IWisejControl
Control
IWisejSerializable

ex

Exception

The exception object.

DataRepeaterItem
DataRepeaterItem
Control
Control
DataRepeaterItem
String
Text
DataRepeaterDataErrorEventHandler
DataError

value

Object

The property value that has changed.

Int32
DataRepeaterItem
Control
String
DataRepeaterItemValueEventHandler
ItemValueNeeded
ItemValuePushed

refreshChildren

Boolean

True to also refresh all the children of this control.

index

Int32

The index of the DataRepeaterItem.

index

Int32

The index of the DataRepeaterItem.

index

Int32

The index of the DataRepeaterItem.

alignWithTop

Boolean

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

IBindableComponent

Bindable components implement this interface.

IContainerControl

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

IWisejComponent

All wisej components implement this interface.

IWisejControl

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

IWisejSerializable

Allows an object to serialize itself.

ContainerControl
DataRepeater
Public Class DataRepeater
    Inherits ContainerControl
    Implements ISupportInitialize
DataRepeater
Boolean
DataRepeater
Boolean
DataRepeater
BorderStyle
DataRepeater
DataRepeaterItem
DataRepeaterItem
DataRepeater
Int32
DataRepeaterItem
DataRepeater
String
DataRepeater
Object
DataRepeater
DataRepeaterItem[]
DataRepeaterItem
Int32
DataRepeaterItem
DataRepeater
Boolean
DataRepeaterItem
DataRepeater
BorderStyle
DataRepeater
Int32
DataRepeaterItem
DataRepeater
Int32
DataRepeater
Boolean
DataRepeater
Color
DataRepeaterItem
CurrentItem
Size
DataRepeaterItem
DataRepeaterItem
DataRepeaterItem
DataRepeater
DataRepeaterLayoutStyles
DataRepeater
Int32
Boolean
RightToLeft
Yes
Boolean
Boolean
DataRepeater
DataRepeaterItem
DataRepeater
ReadOnlyException
AllowUserToAddItems
DataRepeaterItem
DataRepeater
DataRepeater
DataRepeaterItem
DataRepeater
ArgumentOutOfRangeException
ItemCount
ItemBorderStyle
ItemHeaderSize
ItemHeaderVisible
DataRepeaterItem
ArgumentOutOfRangeException
ItemCount
DataRepeaterItem
ArgumentOutOfRangeException
ItemCount
EventHandler
AllowUserToAddItems
EventHandler
AllowUserToDeleteItems
EventHandler
CurrentItemIndex
DataRepeaterDataErrorEventHandler
EventHandler
DataMember
EventHandler
DataSource
DataRepeaterItemEventHandler
DataRepeaterItem
ItemTemplate
DataRepeaterItemCloneEventHandler
DataRepeaterItem
ItemTemplate
DataRepeaterAddRemoveItemsEventHandler
DataRepeaterItem
DataRepeater
DataRepeaterItemEventHandler
DataRepeaterItem
DataRepeaterAddRemoveItemsEventHandler
DataRepeaterItem
DataRepeater
DataRepeaterItemEventHandler
DataRepeaterItem
DataRepeaterItemValueEventHandler
VirtualMode
DataRepeaterItem
DataRepeaterItemValueEventHandler
VirtualMode
DataRepeaterItem
EventHandler
LayoutStyle
EventHandler
VirtualMode
DataRepeaterItem
DataRepeaterAddRemoveItemsEventHandler
DataRepeaterItem
DataRepeaterAddRemoveItemsEventHandler
DataRepeaterItem
DataRepeaterAddRemoveItemsCancelEventHandler
DataRepeaterItem
EventHandler
VirtualMode
public class DataRepeater : ContainerControl, ISupportInitialize