ListBoxExtensions
Wisej.Web.Markup.ListBoxExtensions
Last updated
Was this helpful?
Wisej.Web.Markup.ListBoxExtensions
Last updated
Was this helpful?
Namespace: Wisej.Web.Markup
Assembly: Wisej.Framework (4.0.0.0)
Adds extension methods to the class.
Sets the HorizontalScrollbar property of the specified .
TListBox
listBox
The list box for which to set the HorizontalScrollbar property.
value
A boolean indicating whether a horizontal scrollbar is shown.
Returns: . The modified list box with the updated HorizontalScrollbar property.
This method allows you to specify whether a horizontal scrollbar should be shown for the list box.
TListBox
listBox
The list box for which to set the IncrementalSelection property.
value
A boolean indicating whether incremental selection is enabled.
This method allows you to enable or disable incremental selection for the list box.
TListBox
listBox
The list box for which to set the ItemHeight property.
itemHeight
The height of each item in the list box.
This method allows you to specify the height of each item in the list box.
TListBox
listBox
The list box to which the items should be added.
items
An array of items to add to the list box.
This method allows you to add multiple items to the list box in one call.
TListBox
listBox
The list box for which to set the LazyLoading property.
value
A boolean indicating whether lazy loading is enabled.
This method allows you to enable or disable lazy loading for the list box.
TListBox
listBox
The list box to attach the event handler to.
action
An action to execute when the SelectedIndex property changes.
This method allows you to execute a custom action whenever the SelectedIndex property of the list box changes.
TListBox
listBox
The list box to attach the event handler to.
action
An action to execute when the Sorted property changes.
This method allows you to execute a custom action whenever the Sorted property of the list box changes.
TListBox
listBox
The list box to attach the event handler to.
action
An action to execute when a tool in the list box is clicked.
This method allows you to execute a custom action whenever a tool in the list box is clicked.
TListBox
listBox
The list box for which to set the Orientation property.
orientation
This method allows you to set the orientation for the list box, which determines how items are displayed.
TListBox
listBox
The list box for which to set the RightClickSelection property.
value
A boolean indicating whether right-click selection is enabled.
This method allows you to enable or disable right-click selection for the list box.
TListBox
listBox
The list box for which to set the ScrollAlwaysVisible property.
value
A boolean indicating whether the scrollbar is always visible.
This method allows you to ensure the scrollbar is always visible, regardless of the number of items.
TListBox
listBox
The list box for which to set the SelectedItem property.
selectedItem
The item to select in the list box.
This method allows you to specify the selected item in the list box.
TListBox
listBox
The list box for which to set the SelectionMode property.
selectionMode
This method allows you to specify the selection mode for the list box.
TListBox
listBox
The list box for which to set the Sorted property.
value
A boolean indicating whether the list box is sorted.
This method allows you to specify whether the items in the list box should be sorted automatically.
TListBox
listBox
The list box to which the tools should be added.
items
An array of tools to add to the list box.
This method allows you to add multiple tools to the list box in one call.
TListBox
listBox
The list box for which to set the TopIndex property.
topIndex
The index of the first visible item in the list box.
This method allows you to specify the index of the first visible item in the list box.
The type of the list box, must inherit from .
Sets the IncrementalSelection property of the specified .
The type of the list box, must inherit from .
Returns: . The modified list box with the updated IncrementalSelection property.
Sets the ItemHeight property of the specified .
The type of the list box, must inherit from .
Returns: . The modified list box with the updated ItemHeight property.
Adds the specified items to the Items collection of the specified .
The type of the list box, must inherit from .
Returns: . The modified list box with the added items.
Sets the LazyLoading property of the specified .
The type of the list box, must inherit from .
Returns: . The modified list box with the updated LazyLoading property.
Attaches an event handler for the SelectedIndexChanged event of the specified .
The type of the list box, must inherit from .
Returns: . The modified list box with the attached SelectedIndexChanged event handler.
Attaches an event handler for the SortedChanged event of the specified .
The type of the list box, must inherit from .
Returns: . The modified list box with the attached SortedChanged event handler.
Attaches an event handler for the ToolClick event of the specified .
The type of the list box, must inherit from .
Returns: . The modified list box with the attached ToolClick event handler.
Sets the Orientation property of the specified .
The type of the list box, must inherit from .
The to set for the list box.
Returns: . The modified list box with the updated Orientation property.
Sets the RightClickSelection property of the specified .
The type of the list box, must inherit from .
Returns: . The modified list box with the updated RightClickSelection property.
Sets the ScrollAlwaysVisible property of the specified .
The type of the list box, must inherit from .
Returns: . The modified list box with the updated ScrollAlwaysVisible property.
Sets the SelectedItem property of the specified .
The type of the list box, must inherit from .
Returns: . The modified list box with the updated SelectedItem property.
Sets the SelectionMode property of the specified .
The type of the list box, must inherit from .
The to set for the list box.
Returns: . The modified list box with the updated SelectionMode property.
Sets the Sorted property of the specified .
The type of the list box, must inherit from .
Returns: . The modified list box with the updated Sorted property.
Adds the specified tools to the Tools collection of the specified .
The type of the list box, must inherit from .
Returns: . The modified list box with the added tools.
Sets the TopIndex property of the specified .
The type of the list box, must inherit from .
Returns: . The modified list box with the updated TopIndex property.