# ThemedSegmentedItemHandler<TWidget, TCallback> class

Namespace: [Eto.Forms.ThemedControls](https://eto.picoe.ca/api/namespace/eto.forms.themedcontrols.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
public abstract class ThemedSegmentedItemHandler<TWidget, TCallback> : WidgetHandler<ToggleButton, TWidget, TCallback>, SegmentedItem.IHandler
```

Themed [SegmentedItem](https://eto.picoe.ca/api/type/eto.forms.segmenteditem.md) handler which uses a [ToggleButton](https://eto.picoe.ca/api/type/eto.forms.togglebutton.md) for its display.

**Type parameters:**

- `TWidget` (where SegmentedItem)
- `TCallback` (where SegmentedItem.ICallback)

**Derived types:** [ThemedButtonSegmentedItemHandler](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedbuttonsegmenteditemhandler.md), [ThemedMenuSegmentedItemHandler](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedmenusegmenteditemhandler.md)

## Properties

- [Enabled](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedsegmenteditemhandler-2/enabled.md): Gets or sets a value indicating whether this `SegmentedItem` is enabled.
- [Image](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedsegmenteditemhandler-2/image.md): Gets or sets the image to display in this segment.
- [ParentHandler](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedsegmenteditemhandler-2/parenthandler.md): Gets the parent handler.
- [Selected](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedsegmenteditemhandler-2/selected.md): Gets or sets a value indicating whether this `SegmentedItem` is selected.
- [Text](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedsegmenteditemhandler-2/text.md): Gets or sets the text to display for this segment.
- [ToolTip](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedsegmenteditemhandler-2/tooltip.md): Gets or sets the ToolTip to display for this segment
- [Visible](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedsegmenteditemhandler-2/visible.md): Gets or sets a value indicating whether this `SegmentedItem` is visible.
- [Width](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedsegmenteditemhandler-2/width.md): Gets or sets the width of this segment, or -1 to auto size.

## Methods

- [AttachEvent](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedsegmenteditemhandler-2/attachevent.md): Attaches the specified event to the platform-specific control
- [CreateControl](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedsegmenteditemhandler-2/createcontrol.md): Creates the control if not already set.
- [Initialize](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedsegmenteditemhandler-2/initialize.md): Called to initialize this widget after it has been constructed

## Inherited Members

- From [WidgetHandler<TControl, TWidget, TCallback>](https://eto.picoe.ca/api/type/eto.widgethandler-3.md): [Callback](https://eto.picoe.ca/api/type/eto.widgethandler-3/callback.md)
- From [WidgetHandler<TControl, TWidget>](https://eto.picoe.ca/api/type/eto.widgethandler-2.md): [Connector](https://eto.picoe.ca/api/type/eto.widgethandler-2/connector.md), [Control](https://eto.picoe.ca/api/type/eto.widgethandler-2/control.md), [DisposeControl](https://eto.picoe.ca/api/type/eto.widgethandler-2/disposecontrol.md), [HasControl](https://eto.picoe.ca/api/type/eto.widgethandler-2/hascontrol.md), [CreateConnector](https://eto.picoe.ca/api/type/eto.widgethandler-2/createconnector.md), [Dispose](https://eto.picoe.ca/api/type/eto.widgethandler-2/dispose.md)
- From [WidgetHandler<TWidget>](https://eto.picoe.ca/api/type/eto.widgethandler-1.md): [ID](https://eto.picoe.ca/api/type/eto.widgethandler-1/id.md), [NativeHandle](https://eto.picoe.ca/api/type/eto.widgethandler-1/nativehandle.md), [Widget](https://eto.picoe.ca/api/type/eto.widgethandler-1/widget.md), [DetachEvent](https://eto.picoe.ca/api/type/eto.widgethandler-1/detachevent.md), [Dispose](https://eto.picoe.ca/api/type/eto.widgethandler-1/dispose.md), [HandleEvent](https://eto.picoe.ca/api/type/eto.widgethandler-1/handleevent.md), [IsEventHandled](https://eto.picoe.ca/api/type/eto.widgethandler-1/iseventhandled.md), [OnInitializeComplete](https://eto.picoe.ca/api/type/eto.widgethandler-1/oninitializecomplete.md), [UnhandleEvent](https://eto.picoe.ca/api/type/eto.widgethandler-1/unhandleevent.md)
