Share via


IVsDifferenceLegendElementProvider Interface

Definition

Creates FrameworkElement that is displayed in the legend margin of the difference code window.

public interface class IVsDifferenceLegendElementProvider
public interface class IVsDifferenceLegendElementProvider
__interface IVsDifferenceLegendElementProvider
public interface IVsDifferenceLegendElementProvider
type IVsDifferenceLegendElementProvider = interface
Public Interface IVsDifferenceLegendElementProvider

Remarks

This is a MEF Component and can be exported as follows:

[Export(typeof(IVsDifferenceLegendElementFactory))]
[Name(...)]
[Replaces(...)]
[Order(After = ..., Before = ...)]
[TextViewRole(...)]

The [Replaces(...)] attribute is optional. If specified, it indicates that this provider replaces the specified provider.

The legend elements are only displayed if the Roles property of the right view contains one or more of the roles specified by the TextViewRole attribute.

Methods

CreateLegendElement(IVsDifferenceCodeWindow)

Create a FrameworkElement that will be displayed in the legend of the difference code window.

Applies to