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

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

Syntax

C#
public interface IStyleRenderer<TModelItem, TStyle>
where TModelItem : IModelItem
where TStyle : IVisualStyle<TModelItem>
Visual Basic
Public Interface IStyleRenderer(Of TModelItem As IModelItem, TStyle As 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