Name | Description | |
---|---|---|
NListBox Constructor | Default constructor |
The following tables list the members exposed by NListBox.
Name | Description | |
---|---|---|
NListBox Constructor | Default constructor |
Name | Description | |
---|---|---|
ItemsChild | Reference to the Items child. | |
NListBoxSchema | Schema associated with NListBox. | |
SelectionProperty | Reference to the Selection property. |
Name | Description | |
---|---|---|
FirstSelectedIndex | Gets the index of the first selected item. If there are no selected items returns -1. | |
Items | Gets or sets the items collection of the list box | |
LastSelectedIndex | Gets the index of the last selected item. If there are no selected items returns -1. | |
Selection | Gets or sets the list box selection |
Name | Description | |
---|---|---|
RangeSelectionAnchorIndex | Gets or sets the range selection anchor index |
Name | Description | |
---|---|---|
EnsureVisible | Overloaded. Ensures that the specified item is visible. | |
FillFromArray<pfCd> | Fills the list box with the values of the specified array. Assigns the corresponding array value to the Tag property of each list box item. | |
FillFromEnum<OfCd> | Fills the list box with the options from the specified enum. Assigns the corresponding enum value to the Tag property of each list box item. | |
IndexOfItemWithTag | Gets the index of the first list box item whose Tag property is equal to the given value. | |
IndexOfItemWithText | Gets the index of the first list box item with the given text or -1 if an item with such text is not found. | |
NavigateToItem | Overridden. Navigates to the specified item. | |
NavigateToNextItemStartingWith | Navigates to the next item whose text starts with the given char (case insensitive check is performed). | |
VisitChildDisplaySubtree | Overridden. Called to propagate the forward display traversal to the node child. |
Name | Description | |
---|---|---|
AccumulateContentDisplayChildren | Overridden. Accumulates the display children of the node that are considered to be content. | |
ArrangeContent | Overridden. Overriden to layout the content and the scrollbars. | |
GetFirstVisibleItemIndex | Overridden. Given a top Y coordinate in viewport coordinates, returns the index of the first visible item in the scrollbable items list. | |
GetFocusedItem | Gets the list box item, which currently has the focus | |
GetLastVisibleItemIndex | Overridden. Given a bottom Y coordinate in viewport coordinates, returns the index of the last visible item in the scrollbable items list. | |
GetNavigationAnchorItem | Overridden. Gets the anchor element for keyboard navigation | |
GetScrollableItemAt | Overridden. Gets the scrollable item at the specified index | |
GetScrollableItemIndex | Overridden. Gets the scrolling index of the specified item in the scrollbale items list | |
GetScrollableItemsCount | Overridden. Gets the count of items that can be scrolled through | |
GetTotalViewport | Overridden. Overriden to return the desired size of the items container. | |
GetVisibleItemsCount | Overridden. Gets the count of items that are currently visible | |
MeasureViewportContent | Overridden. Measures the desired size of the element content. | |
OnInputChar | Overridden. Overriden to provide support for navigation based on the first character of list box items' text. | |
OnItemDeselected | Called by the selection, when an item has been deselected. | |
OnItemSelected | Called by the selection, when an item has been selected. | |
OnRegistered | Overridden. Called after the document node is registered in its owner document. | |
Qtb | Overridden. | |
SetFirstVisibleItemIndex | Overridden. Sets the first visible item from the scrollable items by index | |
UpdateSelection | Updates the selection with the specified item. | |
YSb | Overridden. |