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.DrawingAssembly: yWorks.yFilesWPF.Viewer (in yWorks.yFilesWPF.Viewer.dll) Version: 2.2.0.2 (2.2.0.2)
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.