IVisualStyle<(Of <(<'TModelItem>)>)> implementation for ILabel instances in an IGraph.

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


public interface ILabelStyle : IVisualStyle<ILabel>, IModelItemInstaller<ILabel>, ICloneable
Visual Basic
Public Interface ILabelStyle _ Inherits IVisualStyle(Of ILabel), IModelItemInstaller(Of ILabel), _ ICloneable


Implementations are responsible for rendering ILabel instances in a CanvasControl. It is up to the implementation to interpret the visual appearance of a label. The framework uses the associated, possibly shared Renderer to perform the actual rendering of this style for a given label. This interface extends the ICloneable interface. This allows clients to obtain a persistent copy of the current state of this style. Immutable style implementations may return themselves.

Related Reading in the Developer's Guide

Working with styles (and their style renderers) is explained in detail in the section Visual Representation of Graph Elements.

Related Demo Applications

The following programming samples are available: Also see the yFiles for Silverlight tutorials for step by step introductions.

Especially see the following tutorial steps:

See Also