I'm implementing a UI where you can draw a box by clicking and dragging your mouse to select multiple items. Like selecting multiple files/folders:
Does this pattern have a name?
User Experience Stack Exchange is a question and answer site for user experience researchers and experts. It only takes a minute to sign up.
Sign up to join this communityI've seen this referred to as:
In Axure this feature is named "select contained". In my opinion, you could name this: "select contained items" or "Drag to select contained items".
This is also referred to as "rubberband selection", as a Google Image Search reveals. Incidentally, as you mention that you're developing a UI, the Qt UI framework has the QRubberBand
class that can be used to implement this type of selection.
Questions about HCI
are on topic. This is a question about a particular pattern found in human-computer interfaces.