LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

MultiColumnHeader.ToggleVisibility

protected void ToggleVisibility(int columnIndex);

Parameters

columnIndexToggle visibility for this column.

Description

Method for toggling the visibility of a column.

This is also called from the context menu of the MultiColumnHeader. This method toggles the visiblity state, calls ::ef::OnVisibleColumnsChanged which in turn dispatces the visibleColumnsChanged event.