TextViewInitFlags TextViewInitFlags TextViewInitFlags Enum

Definition

Specifies view options.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[System.Flags]
public enum TextViewInitFlags
type TextViewInitFlags = 
Public Enum TextViewInitFlags
Inheritance
TextViewInitFlagsTextViewInitFlagsTextViewInitFlags
Attributes

Fields

VIF_DEFAULT VIF_DEFAULT VIF_DEFAULT 0

No view-owned scrollbars, and no forced settings.

VIF_HSCROLL VIF_HSCROLL VIF_HSCROLL 1048576

Indicates that the view should have a horizontal scrollbar. This value is equivalent to WS_HSCROLL from the Platform SDK. Note that this setting is different from the MDI child scrollbars used by the text editor.

VIF_SET_DRAGDROPMOVE VIF_SET_DRAGDROPMOVE VIF_SET_DRAGDROPMOVE 128

Use drag and drop move setting

VIF_SET_HOTURLS VIF_SET_HOTURLS VIF_SET_HOTURLS 256

Use the Hot URLs setting

VIF_SET_INDENT_MODE VIF_SET_INDENT_MODE VIF_SET_INDENT_MODE 8

Use the auto-indent suppression setting from the VIEWPREFERENCES structure.

VIF_SET_OVERTYPE VIF_SET_OVERTYPE VIF_SET_OVERTYPE 64

Use overtype mode setting.

VIF_SET_SELECTION_MARGIN VIF_SET_SELECTION_MARGIN VIF_SET_SELECTION_MARGIN 2

Use the selection margin setting from the VIEWPREFERENCES structure.

VIF_SET_STREAM_SEL_MODE VIF_SET_STREAM_SEL_MODE VIF_SET_STREAM_SEL_MODE 16

Obsolete.

VIF_SET_VIRTUAL_SPACE VIF_SET_VIRTUAL_SPACE VIF_SET_VIRTUAL_SPACE 4

Use the virtual space setting from the VIEWPREFERENCES structure.

VIF_SET_VISIBLE_WHITESPACE VIF_SET_VISIBLE_WHITESPACE VIF_SET_VISIBLE_WHITESPACE 32

Use visible white space setting.

VIF_SET_WIDGET_MARGIN VIF_SET_WIDGET_MARGIN VIF_SET_WIDGET_MARGIN 1

If you wish to force a certain setting upon a view, regardless of the user's editor preference settings, use these flags along with a VIEWPREFERENCES pointer into Initialize(IVsTextLines, IntPtr, UInt32, INITVIEW[]) method to force a given setting. Use the widget margin setting from the VIEWPREFERENCES structure.

VIF_UPDATE_STATUS_BAR VIF_UPDATE_STATUS_BAR VIF_UPDATE_STATUS_BAR 4194304

Tells the view to update the status bar.

VIF_VSCROLL VIF_VSCROLL VIF_VSCROLL 2097152

Indicates that the view should have a vertical scrollbar. This value is equivalent to WS_VSCROLL from the Platform SDK.

Remarks

COM Signature

From textmgr.idl: