Version

ISelectionHost Interface Members

The following tables list the members exposed by ISelectionHost.

Public Properties
 NameDescription
 PropertyRootElementReturns the root element which normally is the control itself (read-only).  
Public Methods
 NameDescription
 MethodActivateItemActivates the specified item.  
 MethodClearSnapshotClears the selection snapshot  
 MethodDeselectItemDe-select the specified item.  
 MethodDeselectRangeDe-select the range from the pivot item to the specified item.  
 MethodDoAutoScrollHorizontalPerform a horizontal autoscroll operation  
 MethodDoAutoScrollVerticalPerform a vertical autoscroll operation  
 MethodEnterSnakingModeUsed to tell the host to enter snaking mode if appropriate for the item type being selected.  
 MethodGetAutoScrollInfoGets the potential auto scroll information.  
 MethodGetNearestCompatibleItemReturns the ISelectableItem compatible with the specified item that is nearest to the point identied by the mouse event args.  
 MethodGetPivotItemReturns the ISelectableItem that is the pivot item based on the type of item passed-in.  
 MethodGetSelectionStrategyForItemReturns the selection strateg for a specific item.  
 MethodIsItemSelectableWithCurrentSelectionReturns true if the item can be selected without first clearing the current selection.  
 MethodIsMaxSelectedItemsReachedReturns true if selecting this item will exceed the maximum allowed.  
 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.  
 MethodOnMouseUpCalled when the mouse is released.  
 MethodScrollPendingItemIntoViewCalled after the double click time or movement threshold has meen met and the left mouse is up  
 MethodSelectItemSelect the specified item.  
 MethodSelectRangeSelect the range from the pivot item to the specified item.  
 MethodSetPivotItemSet the specified item as the pivot item.  
 MethodSnapshotSelectionSnapshots the current selection  
 MethodTranslateItemPotentially 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.  
See Also