A simple implementation of the ILabelControlLabelStyle interface
that can render complex ContentControls for the visualization of ILabels.
Namespace: yWorks.yFiles.UI.DrawingAssembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.1.0.2
Syntax
| C# |
|---|
public class LabelControlLabelStyle : ControlStyleBase<ILabel>, ILabelControlLabelStyle, ITaggedStyleBase<ILabel>, ILabelStyle, IVisualStyle<ILabel>, IModelItemInstaller<ILabel>, ICloneable |
| Visual Basic |
|---|
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(Control, 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