Table of Contents

Method GetItem

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

GetItem(Control, bool)

Finds the ISizerItem which holds the given control.

ISizerItem? GetItem(Control control, bool recursive)

Parameters

control Control

Control.

recursive bool

true to search in subsizers too.

Returns

ISizerItem

ISizerItem or null if there is no item with the specified control.

GetItem(ISizer, bool)

Finds the ISizerItem which holds the given subsizer.

ISizerItem? GetItem(ISizer sizer, bool recursive)

Parameters

sizer ISizer

Sizer

recursive bool

true to search in subsizers too.

Returns

ISizerItem

ISizerItem or null if there is no item with the specified sizer.

GetItem(int)

Gets item with the specified index.

ISizerItem? GetItem(int index)

Parameters

index int

Item index.

Returns

ISizerItem

ISizerItem or null if there is no item with the specified index.