Constructor ControlStripColumn
- Namespace
- OpenEphys.EphysVisualization.Design
- Assembly
- OpenEphys.EphysVisualization.Design.dll
ControlStripColumn(string, Action<float>, float)
Initializes a new column.
public ControlStripColumn(string label, Action<float> draw, float width = 150)
Parameters
labelstringThe label drawn at the head of the column, or an empty string for none, in which case the controls take the column's whole height.
drawAction<float>Draws the column's controls, once per frame, from the cursor, given the width in pixels they have to fill.
widthfloatThe width, in pixels, the controls need. The column is given at least this, and at least its label's width, and more where a wider column shares its place in the strip's grid.
Exceptions
- ArgumentNullException
labelordrawis null.- ArgumentOutOfRangeException
widthis not positive.