Partager via


DifferenceViewerOptions.ScrollToFirstDiffId Field

The ID of the option that specifies whether or not to scroll to the first diff. If true, the difference viewer will scroll each contained view to the first visible difference after the files are compared. If false, the scrolled area is left alone.

Namespace:  Microsoft.VisualStudio.Text.Differencing
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Declaration
Public Shared ReadOnly ScrollToFirstDiffId As EditorOptionKey(Of Boolean)
public static readonly EditorOptionKey<bool> ScrollToFirstDiffId
public:
static initonly EditorOptionKey<bool> ScrollToFirstDiffId
static val ScrollToFirstDiffId: EditorOptionKey<bool>
public static final var ScrollToFirstDiffId : EditorOptionKey<boolean>

.NET Framework Security

See Also

Reference

DifferenceViewerOptions Class

Microsoft.VisualStudio.Text.Differencing Namespace