InterLineAdornmentTag コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
InterLineAdornmentTag の新しいインスタンスを初期化します。
public InterLineAdornmentTag (Microsoft.VisualStudio.Text.Editor.InterLineAdornmentFactory adornmentFactory, bool isAboveLine, double initialHeight, Microsoft.VisualStudio.Text.Editor.HorizontalPositioningMode horizontalPositioningMode, double horizontalOffset, Microsoft.VisualStudio.Text.Editor.AdornmentRemovedCallback removalCallback = default);
new Microsoft.VisualStudio.Text.Editor.InterLineAdornmentTag : Microsoft.VisualStudio.Text.Editor.InterLineAdornmentFactory * bool * double * Microsoft.VisualStudio.Text.Editor.HorizontalPositioningMode * double * Microsoft.VisualStudio.Text.Editor.AdornmentRemovedCallback -> Microsoft.VisualStudio.Text.Editor.InterLineAdornmentTag
Public Sub New (adornmentFactory As InterLineAdornmentFactory, isAboveLine As Boolean, initialHeight As Double, horizontalPositioningMode As HorizontalPositioningMode, horizontalOffset As Double, Optional removalCallback As AdornmentRemovedCallback = Nothing)
パラメーター
- adornmentFactory
- InterLineAdornmentFactory
このタグの装飾を作成するファクトリ。
- isAboveLine
- Boolean
装飾が行の上部または下部に表示されるかどうか。
- initialHeight
- Double
装飾の初期高さ。
- horizontalPositioningMode
- HorizontalPositioningMode
線上で装飾を水平方向に配置する方法を指定します。
- horizontalOffset
- Double
によって horizontalPositioningMode
定義された位置に対する装飾の水平方向のオフセット。
- removalCallback
- AdornmentRemovedCallback
表示要素がビューから削除されたときに呼び出されます。 null も指定できます。 が null の場合 adornmentFactory
は null にすることはできません。