Compartilhar via


LanguagePreferences.EnableMatchBracesAtCaret Property

Definition

Gets or sets whether or not matching braces can be shown while typing a matching brace.

public:
 property bool EnableMatchBracesAtCaret { bool get(); void set(bool value); };
public:
 property bool EnableMatchBracesAtCaret { bool get(); void set(bool value); };
public bool EnableMatchBracesAtCaret { get; set; }
member this.EnableMatchBracesAtCaret : bool with get, set
Public Property EnableMatchBracesAtCaret As Boolean

Property Value

true if matching braces can be shown, otherwise false.

Remarks

This property is associated with the registry entry MatchBracesAtCaret.

In the base method, even though this property can be set, the value is not written back to the registry.

Note

The EnableMatchBraces property must also return true to enable matching braces as they are typed.

Applies to