Version

ISelectionManager Interface Members

The following tables list the members exposed by ISelectionManager.

Public Methods
 NameDescription
 MethodActivateItemActivate the specified item. Returns true if action was canceled, false otherwise.  
 MethodClearInitialSelectionClear the initial selection  
 MethodDoDragScrollHorizontalDo a horizontal scroll operation. This is called during a drag operation based on the position of the mouse cursor  
 MethodDoDragScrollVerticalDo a vertical scroll operation. This is called during a drag operation based on the position of the mouse cursor  
 MethodDoesDragNeedScrollHorizontalCalled to see if the mouse is in a location that would cause a timer to be started to trigger horizontal scrolling operations.  
 MethodDoesDragNeedScrollVerticalCalled to see if the mouse is in a location that would cause a timer to be started to trigger vertical scrolling operations.  
 MethodEnterSnakingModeUsed to tell the selection manager to enter snaking mode if appropriate for the item type being selected.  
 MethodGetControlReturns the control implementing the interface.  
 MethodGetPivotItemReturns the ISelectableItem that is the pivot item based on the type of item passed-in.  
 MethodGetSelectionStrategyReturns the selection stratgey for a specific item.  
 MethodIsItemSelectableWithCurrentSelectionReturns true if the item can be selected without first clearing the current selection  
 MethodIsMaxSelectedItemsExceededReturns true if MaxSelectedItems will be exceeded by selecting the item.  
 MethodItemNearestPointReturns the ISelectableItem compatible with the specified item that is nearest to the specified point.  
 MethodOnDragEndCalled at the end of a dragging operation  
 MethodOnDragMoveCalled on a mouse move during a dragging operation  
 MethodOnDragStartCalled when a dragging operation is about to begin.  
 MethodOnMouseUpThis is a MouseUp notification that occurs after selectionStartegy has processed the MouseUp msg. The control can do anything it needs to (if anything) in response to this. For example, the MonthViewSingle control enters edit mode.  
 MethodSelectItemSelect the specified item. Returns true if action was canceled, false otherwise.  
 MethodSelectRangeSelect the range from the pivot item to the specified item.  
 MethodSetInitialSelectionSets the initial selection.  
 MethodSetPivotItemSet the specified item as the pivot item.  
 MethodTranslateItemPotentially translates the passed-in item to a ISelectableItem of a different type. For instance, the grid translates a passed-in cell into its parent row if CellClickAction is CellClickActionRowSelect.  
 MethodUnselectItemUnselect the specified item. Returns true if action was canceled, false otherwise.  
 MethodUnselectRangeUnselect the range from the pivot item to the specified item.  
See Also