Click or drag to resize

SegmentedItem  Conversion (Image to SegmentedItem)

Implicitly converts an image to a segmented item.

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

Parameters

image
Type: Eto.DrawingImage
Image for the segmented item.

Return Value

Type: SegmentedItem
A segmented item with the specified image.
Remarks
This allows you to do things like the following:
new SegmentedButton { Items = { myImage1, myImage2, myImage3 } };
See Also