The following tables list the members exposed by ISelectionHost.
Name | Description | |
---|---|---|
RootElement | Returns the root element which normally is the control itself (read-only). |
Name | Description | |
---|---|---|
ActivateItem | Activates the specified item. | |
ClearSnapshot | Clears the selection snapshot | |
DeselectItem | De-select the specified item. | |
DeselectRange | De-select the range from the pivot item to the specified item. | |
DoAutoScrollHorizontal | Perform a horizontal autoscroll operation | |
DoAutoScrollVertical | Perform a vertical autoscroll operation | |
EnterSnakingMode | Used to tell the host to enter snaking mode if appropriate for the item type being selected. | |
GetAutoScrollInfo | Gets the potential auto scroll information. | |
GetNearestCompatibleItem | Returns the ISelectableItem compatible with the specified item that is nearest to the point identied by the mouse event args. | |
GetPivotItem | Returns the ISelectableItem that is the pivot item based on the type of item passed-in. | |
GetSelectionStrategyForItem | Returns the selection strateg for a specific item. | |
IsItemSelectableWithCurrentSelection | Returns true if the item can be selected without first clearing the current selection. | |
IsMaxSelectedItemsReached | Returns true if selecting this item will exceed the maximum allowed. | |
OnDragEnd | Called at the end of a dragging operation | |
OnDragMove | Called on a mouse move during a dragging operation | |
OnDragStart | Called when a dragging operation is about to begin. | |
OnMouseUp | Called when the mouse is released. | |
ScrollPendingItemIntoView | Called after the double click time or movement threshold has meen met and the left mouse is up | |
SelectItem | Select the specified item. | |
SelectRange | Select the range from the pivot item to the specified item. | |
SetPivotItem | Set the specified item as the pivot item. | |
SnapshotSelection | Snapshots the current selection | |
TranslateItem | Potentially translates the passed-in item to an ISelectableItem of a different type. For instance, the DataPresenter translates a passed-in cell into its parent DataRecord if record selection is specified. |