Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


OnGUI(Rect, float)

Render and handle input for the MultiColumnHeader at the given rect.
Read time 1 minuteLast updated 13 days ago

Definition

public virtual void OnGUI(Rect rect, float xScroll)

Parameters

rect

Rect where the MultiColumnHeader is drawn in.

xScroll

Horizontal scroll offset.

Remarks

If the given
xScroll
is not 0 then the column headers will be scrolled but still clipped to the given Rect. This method can be overriden for complete custom behavior and rendering. For custom handling of indivdual column headers then see MultiColumnHeader.ColumnHeaderGUI.