Version

SelectionStrategyBase Class Members

The following tables list the members exposed by SelectionStrategyBase.

Protected Fields
 NameDescription
Protected FielddragThresholdThe drag threshold. Dragging will start when this is exceeded.  
Protected FieldHorizontalScrollTimerTime for scroll dragging horizontally  
Protected FieldignoreNextMouseMoveFlag to indicate ignoring the next MouseMove.  
Protected FieldinDragModeflag to keep track of whther we are currently in drag mode so that we can tunnel messages to OnDragMode and OnDragEnd functions  
Protected FieldstateThe current selection state of the strategy.  
Protected FieldVerticalScrollTimerTime for scroll dragging vertically  
Protected FieldxPosThe initial X position.  
Protected FieldyPosThe initial Y position.  
Public Properties
 NameDescription
Public PropertyIsMultiSelectReturns true if multiple items can be selected at one time  
Public PropertyIsSingleSelectReturns true if only a single item can be selected at any given time  
Public PropertySelectionManagerReturns the associated SelectionManager (read-only)  
Protected Properties
 NameDescription
Protected PropertyItemThe current item.  
Public Methods
 NameDescription
Public MethodCanItemBeNavigatedToDetermines if item can be navigated to.  
Public MethodOnCancelModeCalled when a cancel mode message is received  
Public MethodOnMouseMessage  
Public MethodProcessKeyBoardItemOverloaded. Abstract method that processes selection based on the keyboard action  
Protected Methods
 NameDescription
Protected MethodKillHorizontalScrollTimerIf the drag scroll row timer is still active kill it  
Protected MethodKillVerticalScrollTimerIf the drag scroll row timer is still active kill it  
Protected MethodManageTimersDetermines during a drag operation whether timers are required to generate horizontal or vertical scrolling.  
Protected MethodOnDragStartCanceledThis method is called when the selection manager cancels OnDragStart. Default implementation releases the capture.  
Protected MethodSetHorizontalScrollTimerFirst kill the timer then restarts it with a new interval  
Protected MethodSetStateSet the current selection state of the strategy.  
Protected MethodSetVerticalScrollTimerFirst kill the timer then restarts it with a new interval  
Protected MethodShouldStartDragReturns true if dragging should start (when we're in preDrag mode). The default implementation checks to see if the x or y coords exceed the drag threshold.  
See Also