Freigeben über


AppearanceCategoryOption Class

Definition

Defines the appearance category.

public ref class AppearanceCategoryOption sealed : Microsoft::VisualStudio::Text::Editor::WpfViewOptionDefinition<System::String ^>
public ref class AppearanceCategoryOption sealed : Microsoft::VisualStudio::Text::Editor::WpfViewOptionDefinition<Platform::String ^>
class AppearanceCategoryOption sealed : Microsoft::VisualStudio::Text::Editor::WpfViewOptionDefinition<std::wstring>
[Microsoft.VisualStudio.Utilities.Name("Appearance/Category")]
[System.ComponentModel.Composition.Export(typeof(Microsoft.VisualStudio.Text.Editor.EditorOptionDefinition))]
public sealed class AppearanceCategoryOption : Microsoft.VisualStudio.Text.Editor.WpfViewOptionDefinition<string>
[<Microsoft.VisualStudio.Utilities.Name("Appearance/Category")>]
[<System.ComponentModel.Composition.Export(typeof(Microsoft.VisualStudio.Text.Editor.EditorOptionDefinition))>]
type AppearanceCategoryOption = class
    inherit WpfViewOptionDefinition<string>
Public NotInheritable Class AppearanceCategoryOption
Inherits WpfViewOptionDefinition(Of String)
Inheritance
Attributes

Remarks

This category is one of the DefaultWpfViewOptions.

Constructors

AppearanceCategoryOption()

Initializes a new instance of AppearanceCategoryOption.

Properties

Default

Gets the default value.

DefaultValue

Gets the default value of the option.

(Inherited from EditorOptionDefinition<T>)
Key

Gets the key for the appearance category option.

Name

Gets the name of the option.

(Inherited from EditorOptionDefinition<T>)
ValueType

Gets the actual type of the option.

(Inherited from EditorOptionDefinition<T>)

Methods

Equals(Object)

Determines whether two EditorOptionDefinition objects are the same.

(Inherited from EditorOptionDefinition)
GetHashCode()

Gets the hash code of this type.

(Inherited from EditorOptionDefinition)
IsApplicableToScope(IPropertyOwner)

Determines whether this definition is applicable only to text views.

(Inherited from WpfViewOptionDefinition<T>)
IsValid(Object)

Determines whether the proposed value is valid.

(Inherited from EditorOptionDefinition<T>)
IsValid(T)

Determines whether the proposed value is valid.

(Inherited from EditorOptionDefinition<T>)

Applies to