An implementation of ILabelModel that can be used to create custom label models out of existing ILabelModel instances.

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

Syntax

C#
[ContentPropertyAttribute("LabelModels")] public class CompositeLabelModel : ILabelModel, ILookup, ILabelModelParameterProvider, ILabelModelParameterFinder
Visual Basic
<ContentPropertyAttribute("LabelModels")> _ Public Class CompositeLabelModel _ Implements ILabelModel, ILookup, ILabelModelParameterProvider, ILabelModelParameterFinder

Remarks

This class holds a number of models and can provide all of their parameters in GetParameters(ILabel, ILabelModel). A custom model can easily be created that way:
CopyC#
CompositeLabelModel glm = new CompositeLabelModel() {
  LabelModels = { ExteriorLabelModel, InteriorStretchLabelModel}};

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.UI.LabelModels..::..CompositeLabelModel

See Also