The interface used in an IGraph implementation for labels.

Namespace: yWorks.yFiles.UI.Model
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version:


public interface ILabel : IModelItem, ILookup, ITagOwner
Visual Basic
Public Interface ILabel _ Inherits IModelItem, ILookup, ITagOwner


This interface provides read-only access to the properties of a label. In order to modify the state of an instance use the various methods provided by the IGraph this instance belongs to. Labels are stored in IListEnumerable<ILabel>s, that can be obtained from ILabeledItem implementations' Labels property. Typical owners of a label are INode and IEdge instances. Like all items in an IGraph, this item supports the Lookup(Type) method that can be used to query additional aspects of the item.

Related Reading in the Developer's Guide

The graph model with all relevant types and their relationships is presented in detail in the section Graph Structure.

Using the look-up mechanism is explained in the section Look-up Mechanism.

Related Demo Applications

See the yFiles for Silverlight tutorials for step by step introductions.

See Also