Table of Contents

Method AddColumnCore

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

AddColumnCore(string?, float?, Action?)

Adds a new column to the user interface with the specified title, width, and click action.

SpeedButton AddColumnCore(string? title, float? width = null, Action? onClick = null)

Parameters

title string

The title of the column. Can be null to create an untitled column.

width float?

The width of the column, specified as a float. Can be null to use the default width.

onClick Action

An optional action to be executed when the column is clicked. Can be null if no action is required.

Returns

SpeedButton

A SpeedButton representing the newly added column.