A simple implementation of the ILabelControlLabelStyle interface
that can render complex ContentControls for the visualization of ILabels.
Namespace: yWorks.yFiles.UI.DrawingAssembly: yWorks.yFilesWPF.Viewer (in yWorks.yFilesWPF.Viewer.dll) Version: 2.2.0.2 (2.2.0.2)
Syntax
| C# |
|---|
[ObfuscationAttribute(StripAfterObfuscation = false, ApplyToMembers = false, Exclude = true)] public class LabelControlLabelStyle : ControlStyleBase<ILabel>, ILabelControlLabelStyle, ITaggedStyleBase<ILabel>, ILabelStyle, IVisualStyle<ILabel>, IModelItemInstaller<ILabel>, ICloneable |
| Visual Basic |
|---|
<ObfuscationAttribute(StripAfterObfuscation := False, ApplyToMembers := False, _ Exclude := True)> _ Public Class LabelControlLabelStyle _ Inherits ControlStyleBase(Of ILabel) _ Implements ILabelControlLabelStyle, ITaggedStyleBase(Of ILabel), _ ILabelStyle, IVisualStyle(Of ILabel), IModelItemInstaller(Of ILabel), _ ICloneable |
Remarks
The StyleResourceKey is used to determine the Style that
will be applied to the LabelControl. The style will be looked-up using the
TryFindResource(Object) method for the CanvasControl
the style is used in.
Related Demo Applications
Inheritance Hierarchy
System..::..Object
yWorks.yFiles.UI.Drawing..::..ControlStyleBase<(Of <(<'ILabel>)>)>
yWorks.yFiles.UI.Drawing..::..LabelControlLabelStyle
yWorks.yFiles.UI.Drawing..::..ControlStyleBase<(Of <(<'ILabel>)>)>
yWorks.yFiles.UI.Drawing..::..LabelControlLabelStyle