# ThemedTreeViewHandler 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) · Since v2.12

```cs
public class ThemedTreeViewHandler : ThemedControlHandler<TreeGridView, TreeView, TreeView.ICallback>, TreeView.IHandler
```

> **Obsolete:** Since 2.4. TreeView is deprecated, please use TreeGridView instead.

A themed handler for the deprecated [TreeView](https://eto.picoe.ca/api/type/eto.forms.treeview.md) control, implemented using a [TreeGridView](https://eto.picoe.ca/api/type/eto.forms.treegridview.md) with a single image/text column.

## Constructors

- [ThemedTreeViewHandler](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedtreeviewhandler/ctor.md): Initializes a new instance of the [ThemedTreeViewHandler](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedtreeviewhandler.md).

## Properties

- [ContextMenu](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedtreeviewhandler/contextmenu.md): Gets or sets the context menu to show when the user right clicks or presses the menu key
- [DataStore](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedtreeviewhandler/datastore.md): Gets or sets the data store.
- [LabelEdit](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedtreeviewhandler/labeledit.md): Gets or sets a value indicating whether users can edit the labels of items
- [SelectedItem](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedtreeviewhandler/selecteditem.md): Gets or sets the selected item.
- [TextColor](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedtreeviewhandler/textcolor.md): Gets or sets the color of the text for all nodes.

## Methods

- [AttachEvent](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedtreeviewhandler/attachevent.md): Attaches the specified event to the platform-specific control
- [GetNodeAt](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedtreeviewhandler/getnodeat.md): Gets the node at a specified point from the origin of the control
- [RefreshData](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedtreeviewhandler/refreshdata.md): Refreshes the data, keeping the selection
- [RefreshItem](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedtreeviewhandler/refreshitem.md): Refreshes the specified item and all its children, keeping the selection if not part of the refreshed nodes

## Inherited Members

- From [ThemedControlHandler<TControl, TWidget, TCallback>](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3.md): [AllowDrop](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/allowdrop.md), [BackgroundColor](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/backgroundcolor.md), [ControlObject](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/controlobject.md), [Cursor](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/cursor.md), [Enabled](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/enabled.md), [FocusControl](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/focuscontrol.md), [HasFocus](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/hasfocus.md), [Height](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/height.md), [IsMouseCaptured](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/ismousecaptured.md), [KeyboardControl](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/keyboardcontrol.md), [Location](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/location.md), [MouseControl](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/mousecontrol.md), [PropagateLoadEvents](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/propagateloadevents.md), [Size](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/size.md), [SupportedPlatformCommands](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/supportedplatformcommands.md), [TabIndex](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/tabindex.md), [TabStop](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/tabstop.md), [ToolTip](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/tooltip.md), [Visible](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/visible.md), [VisualControls](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/visualcontrols.md), [Width](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/width.md), [AddGesture](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/addgesture.md), [CaptureMouse](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/capturemouse.md), [ClearGestures](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/cleargestures.md), [DoDragDrop](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/dodragdrop.md), [Focus](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/focus.md), [GetNativeParentWindow](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/getnativeparentwindow.md), [GetPreferredSize](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/getpreferredsize.md), [Initialize](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/initialize.md), [Invalidate](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/invalidate.md), [MapPlatformCommand](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/mapplatformcommand.md), [OnLoad](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/onload.md), [OnLoadComplete](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/onloadcomplete.md), [OnPreLoad](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/onpreload.md), [OnUnLoad](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/onunload.md), [PointFromScreen](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/pointfromscreen.md), [PointToScreen](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/pointtoscreen.md), [Print](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/print.md), [ReleaseMouseCapture](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/releasemousecapture.md), [RemoveGesture](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/removegesture.md), [ResumeLayout](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/resumelayout.md), [SetParent](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/setparent.md), [SuspendLayout](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/suspendlayout.md), [UpdateLayout](https://eto.picoe.ca/api/type/eto.forms.themedcontrolhandler-3/updatelayout.md)
- 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), [CreateControl](https://eto.picoe.ca/api/type/eto.widgethandler-2/createcontrol.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)
