Updated Ultimate ListBox (markdown)

master
DianeXceed 9 years ago
parent
commit
9d2b0e4636
  1. 106
      Ultimate-ListBox.md

106
Ultimate ListBox.md → Ultimate-ListBox.md

@ -11,58 +11,60 @@ Xceed's listbox control also support multiple views: a traditional vertical-scro
See the ListBox sample in the LiveExplorer application for examples. See the ListBox sample in the LiveExplorer application for examples.
![](Ultimate ListBox_listbox.jpg) [[Ultimate ListBox_listbox.jpg]]
## Properties ### Properties
|| Property || Description | Property | Description |
| AllowDrag | Gets or sets a value indicating whether the ListBox can be a drag source for purposes of drag-and-drop operations. | --- | --- |
| AnimationSettings | Gets or sets the animation settings of the ListBox. | AllowDrag | Gets or sets a value indicating whether the ListBox can be a drag source for purposes of drag-and-drop operations. |
| ContainerConfigurations | Gets or sets the container configurations of the ListBox. | AnimationSettings | Gets or sets the animation settings of the ListBox. |
| DisplayMemberPath | Gets or sets the name or path of the property that is displayed for each data item. | ContainerConfigurations | Gets or sets the container configurations of the ListBox. |
| FilterExpression | Gets or sets the filter expression, which is embedded into the data query that is used to request data and filter the items that are displayed in a listbox. | DisplayMemberPath | Gets or sets the name or path of the property that is displayed for each data item. |
| GroupDescriptions | Gets a collection of group descriptions that describe how the items in a listbox are grouped. | FilterExpression | Gets or sets the filter expression, which is embedded into the data query that is used to request data and filter the items that are displayed in a listbox. |
| HideDataNavigationPaneCommand | Gets the HideDataNavigation pane command. | GroupDescriptions | Gets a collection of group descriptions that describe how the items in a listbox are grouped. |
| HorizontalScrollBarVisibility | Gets or sets the visibility of the horizontal scroll bar. | HideDataNavigationPaneCommand | Gets the HideDataNavigation pane command. |
| ItemContainerStyle | Gets or sets the style that is used when rendering the item containers. | HorizontalScrollBarVisibility | Gets or sets the visibility of the horizontal scroll bar. |
| Items | Gets a list of the items (business objects) contained within the listbox, in the order in which they appear. | ItemContainerStyle | Gets or sets the style that is used when rendering the item containers. |
| ItemScrollingBehavior | Gets or sets a value indicating how the data items in the grid are scrolled. | Items | Gets a list of the items (business objects) contained within the listbox, in the order in which they appear. |
| ItemsPanel | Gets or sets the template that defines the panel that controls the layout of items. | ItemScrollingBehavior | Gets or sets a value indicating how the data items in the grid are scrolled. |
| ItemsSource | Gets or sets the data source to which a listbox is bound. | ItemsPanel | Gets or sets the template that defines the panel that controls the layout of items. |
| ItemTemplate | Gets or sets the DataTemplate used to display each item. | ItemsSource | Gets or sets the data source to which a listbox is bound. |
| NavigateToGroupCommand | Gets the navigate to group command. | ItemTemplate | Gets or sets the DataTemplate used to display each item. |
| NextViewCommand | Gets the next view command. | NavigateToGroupCommand | Gets the navigate to group command. |
| PreviousViewCommand | Gets the previous view command. | NextViewCommand | Gets the next view command. |
| SelectedItem | Gets or sets the first item in the current selection or returns null if the selection is empty. | PreviousViewCommand | Gets the previous view command. |
| SelectedItems | Gets the list of currently selected items for the ListBox control. | SelectedItem | Gets or sets the first item in the current selection or returns null if the selection is empty. |
| SelectedRanges | Gets the ranges of items that are selected in a listbox. | SelectedItems | Gets the list of currently selected items for the ListBox control. |
| SelectedValue | Gets or sets the value of the SelectedItem, obtained by using SelectedValuePath. | SelectedRanges | Gets the ranges of items that are selected in a listbox. |
| SelectedValuePath | Gets or sets the path that is used to get the SelectedValue property of the SelectedItem property. | SelectedValue | Gets or sets the value of the SelectedItem, obtained by using SelectedValuePath. |
| SelectionMode | Gets or sets a value indicating how the items in a listbox are selected at run time. | SelectedValuePath | Gets or sets the path that is used to get the SelectedValue property of the SelectedItem property. |
| ShowDataNavigationPaneCommand | Gets the show data navigation pane command. | SelectionMode | Gets or sets a value indicating how the items in a listbox are selected at run time. |
| SortDescriptions | Gets a collection of sort descriptions that describe how the items in a listbox are sorted. | ShowDataNavigationPaneCommand | Gets the show data navigation pane command. |
| ToolPaneVisibility | Gets or sets the visibility of the tool pane. | SortDescriptions | Gets a collection of sort descriptions that describe how the items in a listbox are sorted. |
| VerticalScrollBarVisibility | Gets or sets the visibility of the vertical scroll bar. | ToolPaneVisibility | Gets or sets the visibility of the tool pane. |
| VerticalScrollBarVisibility | Gets or sets the visibility of the vertical scroll bar. |
## Events ### Events
|| Event || Description | Event | Description |
| DragStarting | Raised when a drag operation is starting. | --- | --- |
| Filter | Raised for each item in the data source that has not already been excluded by a filter expression to determine if it passes a filter. | DragStarting | Raised when a drag operation is starting. |
| IDropTargetCanDropElement | Raised when a drag operation enters an IDropTarget. | Filter | Raised for each item in the data source that has not already been excluded by a filter expression to determine if it passes a filter. |
| IDropTargetDragEnter | Raised when a drag operation enters an IDropTarget. | IDropTargetCanDropElement | Raised when a drag operation enters an IDropTarget. |
| IDropTargetDragLeave | Raised when a drag operation leaves an IDropTarget. | IDropTargetDragEnter | Raised when a drag operation enters an IDropTarget. |
| IDropTargetDragOver | Raised when a drag operation hover over an IDropTarget. | IDropTargetDragLeave | Raised when a drag operation leaves an IDropTarget. |
| IDropTargetDrop | Raised when a drag operation sucessfully drops on an IDropTarget. | IDropTargetDragOver | Raised when a drag operation hover over an IDropTarget. |
| PropertyChanged | Raised when the value of a property is changed. | IDropTargetDrop | Raised when a drag operation sucessfully drops on an IDropTarget. |
| SelectionChanged | Raised when the selection is changed. | PropertyChanged | Raised when the value of a property is changed. |
| SelectionChanged | Raised when the selection is changed. |
## Methods ### Methods
|| Method || Description | Method | Description |
| BeginGetSelectedItems | Begins the asynchronous retrieval of the selected items. | --- | --- |
| EndGetSelectedItems | Ends the asynchronous retrieval of the selected items. | BeginGetSelectedItems | Begins the asynchronous retrieval of the selected items. |
| GetContainerFromItem | Retrieves the container used to display the specified item. | EndGetSelectedItems | Ends the asynchronous retrieval of the selected items. |
| GetParentListBox | Returns the parent ListBox of a ListBoxContainer. | GetContainerFromItem | Retrieves the container used to display the specified item. |
| OnApplyTemplate | Overridden. Builds the visual tree for the element. | GetParentListBox | Returns the parent ListBox of a ListBoxContainer. |
| Refresh | Forces a refresh of the layout and configurations. | OnApplyTemplate | Overridden. Builds the visual tree for the element. |
| ScrollIntoView | Scrolls the specified item into view. | Refresh | Forces a refresh of the layout and configurations. |
| SelectAll | Selects all of the items in the ListBox. | ScrollIntoView | Scrolls the specified item into view. |
--- | SelectAll | Selects all of the items in the ListBox. |
Loading…
Cancel
Save