An IStyleRenderer<(Of <(<'TModelItem, TStyle>)>)> implementation for IUIElementLabelStyle
instances that creates visual representations for labels based on Templates
and TemplateSelectors.
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 class UIElementLabelStyleRenderer : AbstractStyleRenderer<ILabel, ILabelStyle, IUIElementLabelStyle>, ILabelStyleRenderer, IStyleRenderer<ILabel, ILabelStyle> |
| Visual Basic |
|---|
Public Class UIElementLabelStyleRenderer _ Inherits AbstractStyleRenderer(Of ILabel, ILabelStyle, IUIElementLabelStyle) _ Implements ILabelStyleRenderer, IStyleRenderer(Of ILabel, ILabelStyle) |
Remarks
The instanciations of the template will be assigned instances of UIElementLabelStyleDataContext
to their DataContext properties.
The UIElement that is created by the DataTemplate will be arranged
according to the corresponding ILabel's layout and the value of the
AutoFlip property.
Inheritance Hierarchy
System..::..Object
yWorks.yFiles.UI.Drawing..::..AbstractStyleRenderer<(Of <(<'ILabel, ILabelStyle, IUIElementLabelStyle>)>)>
yWorks.yFiles.UI.Drawing..::..UIElementLabelStyleRenderer
yWorks.yFiles.UI.Drawing..::..AbstractStyleRenderer<(Of <(<'ILabel, ILabelStyle, IUIElementLabelStyle>)>)>
yWorks.yFiles.UI.Drawing..::..UIElementLabelStyleRenderer