Table of Contents

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

label string

The 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.

draw Action<float>

Draws the column's controls, once per frame, from the cursor, given the width in pixels they have to fill.

width float

The 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

label or draw is null.

ArgumentOutOfRangeException

width is not positive.