All pages
Powered by GitBook
1 of 3

Loading...

Loading...

Loading...

ListControlConvertEventArgs

Wisej.Web.ListControlConvertEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.2.0.0)

  • ConvertEventArgs

    • ListControlConvertEventArgs

Provides data for the Format event.

Constructors

ListControlConvertEventArgs(value, desiredType, listItem)

Name
Type
Description

Properties

ListItem

: Item being converted.

Used By

Name
Description

ListControlConvertEventHandler

Wisej.Web.ListControlConvertEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.2.0.0)

Represents the method that will handle the ListControlConvert event of a ListView.

Parameters

Name
Type
Description

sender

e

Fired By

Name
Description

Fired when the control is bound to a data value.

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

value

Object

desiredType

Type

listItem

Object

ListControlConvertEventHandler

Represents the method that will handle the ListControlConvert event of a ListView.

Public Class ListControlConvertEventArgs
    Inherits ConvertEventArgs
Object
public class ListControlConvertEventArgs : ConvertEventArgs
Object
ListControlConvertEventArgs
ListControl.Format

ListControl

Wisej.Web.ListControl

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.2.0.0)

  • Control

    • ListControl

Provides a common implementation of members for the ListBox and classes.

Properties

AllowHtml

: Returns or sets a value indicating that the control can display html in the Text property.

BorderStyle

: Returns or sets the type of border that is drawn around the .

DataSource

: Returns or sets the data source for this .

Throws:

  • The assigned value does not implement the or interfaces.

DisplayMember

: Returns or sets the property to display for this .

FormatString

: Returns or sets the format-specifier characters that indicate how a value is to be displayed.

FormattingEnabled

: Returns or sets whether formatting is applied to the property of the .

IconMember

: Returns or sets the property to use as the icon for the items in the .

Invalid

: Returns or sets a value that indicates that the control is invalid.

InvalidMessage

: Returns or sets the invalid message that is shown in the invalid tooltip.

Modified

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

PrefetchItems

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

SelectedIndex

: When overridden in a derived class, gets or sets the zero-based index of the currently selected item.

SelectedValue

: Returns or sets the value of the member property specified by the property.

Throws:

  • The assigned value is null or the empty string ("").

ShowToolTips

: Returns or sets whether to show tooltips (set using ) for the list items.

ToolTipMember

: Returns or sets the property to use as the tooltip for the items in the , when the property is set to true.

ValueMember

: Returns or sets the property to use as the actual value for the items in the .

Throws:

  • The specified property cannot be found on the object specified by the property.

VirtualScroll

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

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.

Methods

Append(data)

Populates the from the data appending the items to the existing items.

Parameter
Type
Description

Returns: . Numbers of items appended.

Use this method to fill a without binding it to the data source.

Fill(data)

Populates the from the data .

Parameter
Type
Description

Returns: . Numbers of items added.

Use this method to fill a without binding it to the data source.

GetItemIcon(item)

Returns the icon object, either an instance of or a representing the icon name or URL, of the specified item.

Parameter
Type
Description

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.

GetItemText(item)

Returns the text representation of the specified item.

Parameter
Type
Description

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.

GetItemToolTip(item)

Returns the tooltip text related to the object.

Parameter
Type
Description

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.

Events

DataSourceChanged

Fired when the changes.

DisplayMemberChanged

Fired when the property changes.

Format

Fired when the control is bound to a data value.

FormatStringChanged

Fired when value of the property changes.

FormattingEnabledChanged

Fired when the value of the property changes.

IconMemberChanged

Fired when the property changes.

ModifiedChanged

Fired when the value of the property has changed.

SelectedValueChanged

Fired when the property changes.

ToolTipMemberChanged

Fired when the property changes.

ValueMemberChanged

Fired when the property changes.

Inherited By

Name
Description

Implements

Name
Description

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.

data

Object

The object that contains data for the ListControl to display.

data

Object

The object that contains data for the ListControl to display.

item

Object

The object from which to get the icon to display for the list item.

item

Object

The object from which to get the contents to display.

item

Object

The object from which to get the tooltip text to display for the list item.

CheckedListBox

Displays a ListBox in which a check box is displayed to the left of each item.

ComboBox

Represents a combo box control.

ListBox

Represents a control to display a list of items.

DataGridViewComboBoxEditingControl

Represents a ComboBox control that can be hosted in a DataGridViewComboBoxCell.

ListViewComboBox

The TreeViewComboBox control represents a UserComboBox control with a ListView as the drop down panel.

IBindableComponent

Bindable components implement this interface.

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.

ComboBox
Public Class ListControl
    Inherits Control
Boolean
BorderStyle
ListControl
Object
ListControl
ArgumentException
IList
IListSource
String
ListControl
String
Boolean
DisplayMember
ListControl
String
ListControl
Boolean
String
Boolean
Int32
VirtualScroll
Int32
Object
ValueMember
InvalidOperationException
Boolean
ToolTipMember
String
ListControl
ShowToolTips
String
ListControl
ArgumentException
DataSource
Boolean
ListControl
ListControl
VirtualScroll
VirtualScroll
PrefetchItems
ListControl
Int32
ListControl
ListControl
Int32
ListControl
Image
String
Object
IconMember
GetItemIcon
IconMember
String
DisplayMember
GetItemText
DisplayMember
String
ToolTipMember
GetItemToolTip
ToolTipMember
EventHandler
DataSource
EventHandler
DisplayMember
ListControlConvertEventHandler
EventHandler
FormatString
EventHandler
FormattingEnabled
EventHandler
IconMember
EventHandler
Modified
EventHandler
SelectedValue
EventHandler
ToolTipMember
EventHandler
ValueMember
public class ListControl : Control

TreeViewComboBox
UserComboBox
TreeView
UserComboBox
ComboBox