internal void SwapSelectionGroup(SelectableElement other) { int temp = groups; groups = other.groups; other.groups = temp; }
// This copies properties to any other element public void CopyPropertiesTo(SelectableElement element) { element.groups = this.groups; element.Selected = this.selected; base.CopyPropertiesTo(element); }