MouseWheelZoomEnabled 類別
定義用於啟用滑鼠滾輪縮放的選項
繼承階層架構
Object
Microsoft.VisualStudio.Text.Editor.EditorOptionDefinition
Microsoft.VisualStudio.Text.Editor.EditorOptionDefinition<Boolean>
Microsoft.VisualStudio.Text.Editor.WpfViewOptionDefinition<Boolean>
Microsoft.VisualStudio.Text.Editor.MouseWheelZoomEnabled
命名空間: Microsoft.VisualStudio.Text.Editor
組件: Microsoft.VisualStudio.Text.UI.Wpf (在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)
語法
'宣告
<ExportAttribute(GetType(EditorOptionDefinition))> _
<NameAttribute("TextView/MouseWheelZoom")> _
Public NotInheritable Class MouseWheelZoomEnabled _
Inherits WpfViewOptionDefinition(Of Boolean)
[ExportAttribute(typeof(EditorOptionDefinition))]
[NameAttribute("TextView/MouseWheelZoom")]
public sealed class MouseWheelZoomEnabled : WpfViewOptionDefinition<bool>
[ExportAttribute(typeof(EditorOptionDefinition))]
[NameAttribute(L"TextView/MouseWheelZoom")]
public ref class MouseWheelZoomEnabled sealed : public WpfViewOptionDefinition<bool>
[<Sealed>]
[<ExportAttribute(typeof(EditorOptionDefinition))>]
[<NameAttribute("TextView/MouseWheelZoom")>]
type MouseWheelZoomEnabled =
class
inherit WpfViewOptionDefinition<bool>
end
public final class MouseWheelZoomEnabled extends WpfViewOptionDefinition<boolean>
MouseWheelZoomEnabled 類型會公開下列成員。
建構函式
名稱 | 描述 | |
---|---|---|
MouseWheelZoomEnabled | 初始化 MouseWheelZoomEnabled 的新執行個體。 |
回頁首
屬性
名稱 | 描述 | |
---|---|---|
Default | 取得預設值,即 true。 (覆寫 EditorOptionDefinition<T>.Default。) | |
DefaultValue | 取得選項的預設值。 (繼承自 EditorOptionDefinition<T>)。 | |
Key | 取得值,WPF 文字檢視。 (覆寫 EditorOptionDefinition<T>.Key。) | |
Name | 取得選項的名稱。 (繼承自 EditorOptionDefinition<T>)。 | |
ValueType | 取得選項的實際型別。 (繼承自 EditorOptionDefinition<T>)。 |
回頁首
方法
名稱 | 描述 | |
---|---|---|
Equals | 判斷兩個 EditorOptionDefinition 物件是否相同。 (繼承自 EditorOptionDefinition)。 | |
GetHashCode | 取得這個型別的雜湊程式碼。 (繼承自 EditorOptionDefinition)。 | |
GetType | 取得目前實例 Type 的屬性。 (繼承自 Object)。 | |
IsApplicableToScope | 判斷這個定義是否僅適用於文字檢視。 (繼承自 WpfViewOptionDefinition<T>)。 | |
IsValid(Object%) | 判斷建議值是否有效。 (繼承自 EditorOptionDefinition<T>)。 | |
ToString | 傳回代表目前物件的字串。 (繼承自 Object)。 |
回頁首
執行緒安全
這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。