Share via


InitialSelectionHint Enum

Definition

Used by IAsyncCompletionSource to recommend the selection mode.

public enum class InitialSelectionHint
public enum InitialSelectionHint
type InitialSelectionHint = 
Public Enum InitialSelectionHint
Inheritance
InitialSelectionHint

Fields

RegularSelection 0

Item is selected. It will be committed by pressing a commit character, e.g. a token delimeter, Tab, Enter and mouse click. When multiple IAsyncCompletionSource give different results, this value has the lowest priority.

SoftSelection 1

Item is soft selected. It will be committed only by pressing Tab or clicking the item. Typing a commit character will dismiss the IAsyncCompletionSession. Selecting another item automatically disables soft selection and enables regular selection. When multiple IAsyncCompletionSource give different results, this value has higher priority than RegularSelection.

Applies to