Generic interface used by IVisualStyle<(Of <(<'TModelItem>)>)> implementations that can be used to query the actual IVisualCreator, IVisibilityTest, IBoundsProvider, IHitTestable, and IMarqueeTestable implementations for an IModelItem instance and its associated style instance.

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

Syntax

C#
public interface IStyleRenderer<TModelItem, TStyle> where TModelItem : IModelItem where TStyle : Object, IVisualStyle<TModelItem>
Visual Basic
Public Interface IStyleRenderer(Of TModelItem As IModelItem, TStyle As {Object, IVisualStyle(Of TModelItem)})

Type Parameters

TModelItem
TStyle

Remarks

Implementations of this interface should be designed to be sharable between multiple style instances and should therefore not contain style specific state.

See Also