Click or drag to resize

SegmentedItem  Conversion (String to SegmentedItem)

Implicitly converts a string to a segmented item.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public static implicit operator SegmentedItem (
	string text
)

Parameters

text
Type: SystemString
Text for the segmented item.

Return Value

Type: SegmentedItem
A segmented item with the specified text.
Remarks
This allows you to do things like the following:
new SegmentedButton { Items = { "First", "Second", "Third" } };
See Also