Table of Contents

Interface IListBoxHeader

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

Represents a header interface for managing columns within a list box control.

public interface IListBoxHeader

Remarks

This interface provides methods to manipulate columns in a list box, including adding, deleting, and modifying columns. It allows for the retrieval of associated controls and setting column properties such as width. Each column is identified by a unique identifier, and operations are performed based on this identifier.

Methods

AddColumn(string?, float?, Action?)

Adds a new column with the specified title and width to the control.

AddColumnCore(string?, float?, Action?)

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

DeleteColumn(ObjectUniqueId?)

Deletes the specified column and its associated splitter from the control.

DeleteColumns()

Deletes all columns from the control.

GetColumnControl(ObjectUniqueId?)

Retrieves a SpeedButton associated with the specified column identifier.

InsertColumn(int, string?, float?, Action?)

Inserts a new column at the specified index with the given title and width.

InsertColumnCore(int, string?, float?, Action?)

Inserts a new column at the specified index with the given title, width, and optional click action.

SetColumnTitle(ObjectUniqueId, string?)

Sets the title of the specified column.

SetColumnWidth(ObjectUniqueId, float?)

Sets the width of the specified column.