# ItemViewModelBase

Telerik Diagramming Framework provides a list of **ViewModels** defined in the **Telerik.Windows.Controls.Diagrams.Extensions.dll**.

This article describes the **ItemViewModelBase** class defined in the Diagramming Extensions.

## Overview

The **ItemViewModelBase** class is designed to serve as a base **ViewModel** that can describe any **RadDiagramItem**. It implements the [ViewModelBase](http://www.telerik.com/help/wpf/t_telerik_windows_controls_viewmodelbase.html) class.

ItemViewModelBase Inheritance Model

![raddiagram-data-itemviewmodelbase](https://www.telerik.com/products/wpf/documentation/assets/8deea3c6c451c9ae15f7de723021d47f/raddiagram-data-itemviewmodelbase.png)

**ItemViewModelBase** exposes one constructor - ItemViewModelBase() that initializes a new instance of the class.

## Properties

The **ItemViewModelBase** class exposes the following properties:

| Name       | Description                                                                                                 |
| ---------- | ----------------------------------------------------------------------------------------------------------- |
| Visibility | Gets or sets the Visibility of an item. It is of type Visibility.                                           |
| Position   | Gets or sets the coordinates of a Point that represents the position of an item on the diagramming surface. |
| Content    | Gets or sets an object that represents the content of an item.                                              |
| IsSelected | Gets or sets a Boolean value indicating whether an item is selected.                                        |

## See Also

* [NodeViewModelBase](https://www.telerik.com/products/wpf/documentation/controls/raddiagram/diagramextensions-viewmodels/data-nodeviewmodel)
* [LinkViewModelBase](https://www.telerik.com/products/wpf/documentation/controls/raddiagram/diagramextensions-viewmodels/data-linkviewmodel)
* [ContainerNodeViewModelBase](https://www.telerik.com/products/wpf/documentation/controls/raddiagram/diagramextensions-viewmodels/data-containernodeviewmodel)
* [HierarchicalNodeViewModel](https://www.telerik.com/products/wpf/documentation/controls/raddiagram/diagramextensions-viewmodels/data-hierarchicalnodeviewmodel)
* [GraphSourceBase](https://www.telerik.com/products/wpf/documentation/controls/raddiagram/diagramextensions-viewmodels/data-graphsourcebase)
* [ObservableGraphSourceBase](https://www.telerik.com/products/wpf/documentation/controls/raddiagram/diagramextensions-viewmodels/data-observablegraphsource)
* [SerializableGraphSourceBase](https://www.telerik.com/products/wpf/documentation/controls/raddiagram/diagramextensions-viewmodels/data-serializablegraphsource)
