Partilhar via


IWpfTextViewMarginProvider Interface

Definition

Creates an IWpfTextViewMargin for a given IWpfTextViewHost.

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

Remarks

This is a MEF component part, and should be exported with the following attribute: [Export(typeof(IWpfTextViewMarginProvider))] Exporters must supply an MarginContainerAttribute, TextViewRoleAttribute, and NameAttribute.

Exporters should provide one or more OrderAttributes, ContentTypeAttributes, and/or TextViewRoleAttributes.

Exporters may provide GridUnitTypeAttribute.

Exporters may provide zero or more ReplacesAttributes.

Methods

CreateMargin(IWpfTextViewHost, IWpfTextViewMargin)

Creates an IWpfTextViewMargin for the given IWpfTextViewHost.

Applies to