[HideModuleNameAttribute]
public sealed class ListBoxExtensions<ExtensionAttribute>
<HideModuleNameAttribute>
Public NotInheritable Class ListBoxExtensions
Dim instance As ListBoxExtensions[ExtensionAttribute]
[HideModuleNameAttribute]
public ref class ListBoxExtensions sealed[<SealedAttribute>]
[<ExtensionAttribute>]
[<HideModuleNameAttribute>]
type ListBoxExtensions = class endNo code example is currently available or this language may not be supported.| AsIEnumerable(ListBoxObjectCollection) | Converts the specified a ListBoxObjectCollection to a IEnumerableT. |
| AsIEnumerable(ListBoxSelectedObjectCollection) | Converts the specified a ListBoxSelectedObjectCollection to a IEnumerableT. |
| AsIEnumerableT(ListBoxObjectCollection) | Converts the specified a ListBoxObjectCollection to a IEnumerableT. |
| AsIEnumerableT(ListBoxSelectedObjectCollection) | Converts the specified a ListBoxSelectedObjectCollection to a IEnumerableT. |
| CopyAllItems | Copies the text of all the items in the ListBox to the clipboard. |
| CopyItem | Copies the text of the specified item in the ListBox to the clipboard. |
| CopyItems | Copies the text of the specified items in the ListBox to the clipboard. |
| CopySelectedItems | Copies the text of the current selected items in the ListBox to the clipboard. |
| DeselectAllItems | Deselects all the items in ListBox. |
| DeselectAllItemsNoJump | Selects all the items in ListBox without scrolling to its item position. |
| Deserialize | Deserializes the items of the ListBox from a local file. You can use this method to restore the items of a ListBox that were saved using the Serialize(ListBox, FileInfo, SerializationFormat) method. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MoveSelectedItems | Moves up or down the selected items of the ListBox. |
| RemoveDuplicates(ListBox) | Removes duplicated items in the source ListBox, using the default EqualityComparerT to compare the items. |
| RemoveDuplicatesT(ListBox) | Removes duplicated items of the specified Type in the source ListBox, using the default EqualityComparerT to compare the items. |
| RemoveDuplicatesT(ListBox, IEqualityComparerT) | Removes duplicated items of the specified Type in the source ListBox. |
| RemoveEmptyOrWhiteSpaceStrings | Removes any empty string items (String) and also string items that consists only of white-space characters in the source ListBox. |
| RemoveEmptyStrings | Removes any empty string items (String) in the source ListBox. |
| RemoveItemsT | Removes items of the specified Type in the source ListBox given a condition. |
| RemoveSelectedItems | Removes the selected items from ListBox. |
| ScrollToBottom | Scrolls the source ListBox to the bottom. |
| ScrollToTop | Scrolls the source ListBox to the top. |
| SelectAllItems | Selects all the items in ListBox. |
| SelectAllItemsNoJump | Selects all the items in ListBox without scrolling to its item position. |
| Serialize | Serializes the items of the ListBox to a local file. You can use this method to backup the items of a ListBox, then restore them with the Deserialize(ListBox, FileInfo, SerializationFormat) method. |
| SetSelectedNoJump(ListBox, Int32, ListBoxItemSelectionState) | Selects or unselects the specified item in ListBox without scrolling to its item position. |
| SetSelectedNoJump(ListBox, Int32, ListBoxItemSelectionState) | Selects or unselects the specified items in ListBox without scrolling to their item positions. |
| SetSelectedNoJump(ListBox, String, ListBoxItemSelectionState) | Selects or unselects the specified item in ListBox without scrolling to its item position. |
| SetSelectedNoJump(ListBox, String, ListBoxItemSelectionState) | Selects or unselects the specified items in ListBox without scrolling to their item positions. |
| SortT(ListBox) | Sorts the items in the ListBox. |
| SortT(ListBox, IComparerT) | Sorts the items in the ListBox. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| ToStringCollection | Converts the specified a ListBoxObjectCollection to a StringCollection. |
| TransferAllItems | Transfers all the items from the source ListBox to another. |
| TransferSelectedItems | Transfers the selected items from the source ListBox to another. |
| CanConvertTo |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
| CanConvertToT |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
| ConvertToT |
Converts an object to the specified target type.
If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions) |
| ConvertToT |
Converts an object to the specified target type.
If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions) |
| IsDisposable |
Determines whether the specified object is a disposable type
(i.e., it implements IDisposable interface).
(Defined by ObjectExtensions) |
| Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
| Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
| ThrowIfNullTException |
Throws the specified exception if the source object is null.
(Defined by ObjectExtensions) |