Gets a LookupDecorator<(Of <(<'TDecoratedType, TInterface>)>)> that decorates the ILabelSnapContextHelper for the ILabels this instance has been created for.

Namespace: yWorks.yFiles.UI.Model
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.4.0.0

Syntax

C#
[NotNullAttribute] public LookupDecorator<ILabel, ILabelSnapContextHelper> LabelSnapContextHelperDecorator { get; }
Visual Basic
<NotNullAttribute> _ Public ReadOnly Property LabelSnapContextHelperDecorator As LookupDecorator(Of ILabel, ILabelSnapContextHelper) Get

Field Value

A decorator that can be used to modify queries for ILabelSnapContextHelper instances on an ILabel.

Remarks

Custom ILabelSnapContextHelper implementations can be used to provide custom snap lines and snap results based on the ILabels this instance has been created for. This interface is mainly used by the label's IPositionHandler to collect snap results during a drag gesture for the label. This is a convenient alternative to the direct usage of the ILookupDecorator that is provided by the IGraph's Lookup(Type).

See Also