Table of Contents

Method SetText

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

SetText(object?)

Sets the text content of the item to the specified value. This is a convenient method which can be used in fluent API style. It is the same as setting Text property.

public ListControlItem SetText(object? value)

Parameters

value object

The value to set as the text. If value is null, the text is set to an empty string.

Returns

ListControlItem

The current instance of ListControlItem, enabling method chaining.