The Toggle Selection command reverses the selection states of all entities and is dependent on current masking and visibility states. For example, if the selection mask is set to only allow selection of domains and you select one domain in your grid, Toggle Selection will unselect that domain and select all other domains.