An abstract base class that makes it possible to easily implement a custom ILabelStyle.Namespace: yWorks.yFiles.UI.Drawing
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 184.108.40.206
Only CreateVisual(ILabel, IRenderContext) and GetPreferredSize(ILabel) need to be implemented by subclasses, however it is highly recommended to implement at least UpdateVisual(ILabel, IRenderContext, TVisual), too. This implementation differs from the straightforward ILabelStyle implementation in that there is no visible separation between the IVisualStyle<(Of <(<'TModelItem>)>)> and its IStyleRenderer<(Of <(<'TModelItem, TStyle>)>)>. Instead the renderer used by the base class is fixed and delegates all calls back to the style instance.