共用方式為


EditorFormatDefinition.BackgroundColorId 欄位

定義字串,用以查詢 ResourceDictionary 中的背景色彩值。

命名空間:  Microsoft.VisualStudio.Text.Classification
組件:  Microsoft.VisualStudio.Text.UI.Wpf (在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)

語法

'宣告
Public Const BackgroundColorId As String
public const string BackgroundColorId
public:
literal String^ BackgroundColorId
static val mutable BackgroundColorId: string
public const var BackgroundColorId : String

.NET Framework 安全性

請參閱

參考

EditorFormatDefinition 類別

Microsoft.VisualStudio.Text.Classification 命名空間