ListControl
Wisej.Web.ListControl
Last updated
Was this helpful?
Wisej.Web.ListControl
Last updated
Was this helpful?
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Provides a common implementation of members for the and classes.
: Returns or sets a value indicating that the control can display HTML in the Text property. (Default: False
)
: Returns a value indicating whether the list enables selection of list items.
: Returns or sets the type of border that is drawn around the . (Default: Solid
)
Throws:
Throws:
Throws:
data
Dispose the control.
disposing
true when this method is called by the application rather than a finalizer.
data
item
item
field
item
The object from which to get the icon to display for the list item.
Returns the text representation of the specified item.
item
The object from which to get the contents to display.
Returns the tooltip text related to the object.
item
The object from which to get the tooltip text to display for the list item.
Handles special input keys, such as PAGE UP, PAGE DOWN, HOME, END, and so on.
keyData
e
e
e
e
e
e
e
e
e
e
e
e
e
e
Renders the client component.
config
Dynamic configuration object.
When overridden in a derived class, resynchronizes the data of the object at the specified index with the contents of the data source.
index
The zero-based index of the item whose data to refresh.
When overridden in a derived class, resynchronizes the item data with the contents of the data source.
Renders the text representation of the specified item. If AllowHtml is set to false, the text is encoded.
item
The object from which to get the contents to display.
When overridden in a derived class, sets the object with the specified index in the derived class.
index
The array index of the object.
value
The object.
When overridden in a derived class, sets the specified array of objects in a collection in the derived class.
items
An array of items.
Represents a combo box control.
Represents a control to display a list of items.
Provides access to the UserData
and Tag
properties associated to the component implementing this interface.
Bindable components implement this interface.
Controls that support drag & drop operations implement this interface.
Provides access to the validation events and properties property for controls that support validation.
All wisej components implement this interface.
Allows an object to serialize itself.
: Returns or sets the data source for this . (Default: null
)
The assigned value does not implement the or interfaces.
: Returns or sets the property to display for this . (Default: ""
)
: Returns or sets the that provides custom formatting behavior. (Default: null
)
: Returns or sets the format-specifier characters that indicate how a value is to be displayed. (Default: ""
)
: Returns or sets whether formatting is applied to the property of the . (Default: False
)
: Returns or sets the property to use as the icon for the items in the . (Default: ""
)
: Returns or sets a value that indicates that the control is invalid.
: Returns or sets the invalid message that is shown in the invalid tooltip. (Default: ""
)
: Returns or sets a value that indicates that the control has been modified by the user since the control was created or its contents were last set.
: Returns or sets the number of items to prefetch outside of the visible area when is set to true. The default is 0 (disabled). (Default: 0
)
: When overridden in a derived class, gets or sets the zero-based index of the currently selected item.
: Returns or sets the value of the member property specified by the property. (Default: null
)
The assigned value is null or the empty string ("").
: Returns or sets whether to show tooltips (set using ) for the list items. (Default: False
)
: Returns or sets the property to use as the tooltip for the items in the , when the property is set to true. (Default: ""
)
: Returns or sets the property to use as the actual value for the items in the . (Default: ""
)
The specified property cannot be found on the object specified by the property.
: Enables or disables virtual scrolling for the . When virtual scrolling is enabled, only the visible items are rendered in the browser allowing the to host virtually unlimited items without any performance loss. (Default: False
)
When is set to true, all the items must be of the same height, limiting the more flexible HTML rendering available when is off (default). Setting the property to a value greater than 0 allows the virtual view to prefetch the specified number of items outside of the visible area to enable smoother scrolling.Throws:
Horizontal orientation is not supported with virtual scrolling.
Populates the from the data appending the items to the existing items.
The object that contains data for the to display.
Returns: . Numbers of items appended.
Use this method to fill a without binding it to the data source.
Populates the from the data .
The object that contains data for the to display.
Returns: . Numbers of items added.
Use this method to fill a without binding it to the data source.
Retrieves the current value of the item, if it is a property of an object, given the item.
The object the item is bound to.
Returns: . The filtered object.
Returns the current value of the item, if it is a property of an object given the item and the property name.
The object the item is bound to.
The property name of the item the is bound to.
Returns: . The filtered object.
Returns the icon object, either an instance of or a representing the icon name or URL, of the specified item.
Returns: . If the property is not specified, the value returned by is null. Otherwise, the method returns the object value of the member specified in the property for the object specified in the item parameter.
Returns: . If the property is not specified, the value returned by is the value of the item's ToString method. Otherwise, the method returns the string value of the member specified in the property for the object specified in the item parameter.
Returns: . If the property is not specified, the value returned by is null. Otherwise, the method returns the value of the member specified in the property for the object specified in the item parameter.
One of the values of .
Returns: . true if the keyData parameter specifies the , , , or key; false if the keyData parameter specifies .
Fires the event.
A that contains the event data.
Fires the event.
A that contains the event data.
Fires the event.
A that contains the event data.
Raises the event.
A that contains the event data.
Fires the event.
A that contains the event data.
Fires the event.
A that contains the event data.
Fires the event.
A that contains the event data.
Fires the event.
A that contains the event data.
Fires the event.
A that contains the event data.
Fires the event.
A that contains the event data.
Fires the event.
A that contains the event data.
Fires the event.
A that contains the event data.
Fires the event.
A that contains the event data.
Fires the event.
A that contains the event data.
Returns: . If the property is not specified, the value returned by is the value of the item's ToString method. Otherwise, the method returns the string value of the member specified in the property for the object specified in the item parameter.
Fired when the changes.
Fired when the property changes.
Fired when the control is bound to a data value.
Fired when the value of the property changes.
Fired when value of the property changes.
Fired when the value of the property changes.
Fired when the property changes.
Fired when the value of the property has changed.
Fired when the property changes.
Fired when the property changes.
Fired when the property changes.
Displays a in which a check box is displayed to the left of each item.
Represents a control that can be hosted in a .
The TreeViewComboBox control represents a control with a as the drop down panel.
The TreeViewComboBox control represents a control with a as the drop down panel.
The UserComboBox control represents a control with a custom panel that drops down when the user clicks the down arrow.
Provides access to the property and event for controls that implement this interface.
All wisej controls derived from the class must implement this interface.