An IStyleRenderer<(Of <(<'TModelItem, TStyle>)>)> implementation for IUIElementNodeStyle instances that creates visual representations for nodes based on Templates and TemplateSelectors.

Namespace: yWorks.yFiles.UI.Drawing
Assembly: yWorks.yFilesWPF.Viewer (in yWorks.yFilesWPF.Viewer.dll) Version: 2.2.0.2 (2.2.0.2)

Syntax

C#
public class UIElementNodeStyleRenderer : AbstractNodeStyleRenderer<IUIElementNodeStyle>
Visual Basic
Public Class UIElementNodeStyleRenderer _
	Inherits AbstractNodeStyleRenderer(Of IUIElementNodeStyle)

Remarks

The instantiations of the template will be assigned instances of UIElementNodeStyleDataContext to their DataContext properties. The UIElement that is created by the DataTemplate will be arranged according to the corresponding INode's layout rectangle.

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.UI.Drawing..::..AbstractStyleRenderer<(Of <(<'INode, INodeStyle, IUIElementNodeStyle>)>)>
    yWorks.yFiles.UI.Drawing..::..AbstractNodeStyleRenderer<(Of <(<'IUIElementNodeStyle>)>)>
      yWorks.yFiles.UI.Drawing..::..UIElementNodeStyleRenderer

See Also