SelectingItemsControl.

UpdateSelection(IControl, bool, bool, bool, bool) Method

Summary

Updates the selection for a container based on user interaction.

Syntax

protected void UpdateSelection(IControl container, bool select = true, bool rangeModifier = false, bool toggleModifier = false, bool rightButton = false)

Parameters

Name Type Description
container IControl The container.
select bool Whether the container should be selected or unselected.
rangeModifier bool Whether the range modifier is enabled (i.e. shift key).
toggleModifier bool Whether the toggle modifier is enabled (i.e. ctrl key).
rightButton bool Whether the event is a right-click.

Return Value

Type Description
void