IEditorSettings.WordWrapEnabled 属性

适用于版本2

获取或设置是否启用自动换行。

命名空间:  Microsoft.WebMatrix.Extensibility.Editor
程序集:  Microsoft.WebMatrix.Extensibility(在 Microsoft.WebMatrix.Extensibility.dll 中)

语法

声明
Property WordWrapEnabled As Boolean 
    Get 
    Set
用法
Dim instance As IEditorSettings 
Dim value As Boolean 

value = instance.WordWrapEnabled

instance.WordWrapEnabled = value
bool WordWrapEnabled { get; set; }
property bool WordWrapEnabled {
    bool get ();
    void set (bool value);
}
abstract WordWrapEnabled : bool with get, set
function get WordWrapEnabled () : boolean 
function set WordWrapEnabled (value : boolean)

属性值

类型:System.Boolean
如果启用了自动换行,则为 true;否则为 false。

请参阅

参考

IEditorSettings 接口

Microsoft.WebMatrix.Extensibility.Editor 命名空间