ClassificationFormatDefinition Class
Provides classification format information for a particular classification type.
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Microsoft.VisualStudio.Text.Classification.EditorFormatDefinition
Microsoft.VisualStudio.Text.Classification.ClassificationFormatDefinition
| Name | Description | |
|---|---|---|
![]() | ClassificationFormatDefinition() | Initializes a new instance of ClassificationFormatDefinition. |
| Name | Description | |
|---|---|---|
![]() | BackgroundBrush | Gets or sets the background brush for this item.(Inherited from EditorFormatDefinition.) |
![]() | BackgroundColor | Gets or sets the background color for this item.(Inherited from EditorFormatDefinition.) |
![]() | BackgroundCustomizable | Determines whether the background of this format is customizable.(Inherited from EditorFormatDefinition.) |
![]() | BackgroundOpacity | Gets or sets the opacity of the background. |
![]() | CultureInfo | Gets or sets the CultureInfo for this classification format. |
![]() | DisplayName | Defines the string used when displaying this format definition to the user. This property is used only if the UserVisibleAttribute is set to true on this object's export.(Inherited from EditorFormatDefinition.) |
![]() | FontHintingSize | Gets or sets the font hinting size for this classification format. |
![]() | FontRenderingSize | Gets or sets the font rendering size for this classification format. |
![]() | FontTypeface | Gets or sets the Typeface for this classification format. |
![]() | ForegroundBrush | Gets or sets the foreground brush for this item.(Inherited from EditorFormatDefinition.) |
![]() | ForegroundColor | Gets or sets the foreground color for this item.(Inherited from EditorFormatDefinition.) |
![]() | ForegroundCustomizable | Determines whether the foreground of this format is customizable.(Inherited from EditorFormatDefinition.) |
![]() | ForegroundOpacity | Gets or sets the opacity of the foreground. |
![]() | IsBold | Determines whether the text should be bold. |
![]() | IsItalic | Determines whether the text should be italic. |
![]() | TextDecorations | Gets or sets the TextDecorationCollection for this classification format. |
![]() | TextEffects | Gets or sets the the TextEffectCollection for this classification format. |
| Name | Description | |
|---|---|---|
![]() | CreateResourceDictionary() | Creates a ResourceDictionary from this definition.(Inherited from EditorFormatDefinition.) |
![]() | CreateResourceDictionaryFromDefinition() | Creates a ResourceDictionary using this definition.(Overrides EditorFormatDefinition.CreateResourceDictionaryFromDefinition().) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | BackgroundOpacityId | Defines the string used to look up the background opacity value in the ResourceDictionary. |
![]() ![]() | CultureInfoId | Defines the string used to look up the CultureInfo value in the ResourceDictionary. |
![]() ![]() | DefaultBackgroundOpacity | Defines the default opacity used for the background color/brush if no BackgroundOpacityId entities are defined. |
![]() ![]() | DefaultHighContrastBackgroundOpacity | |
![]() ![]() | FontHintingSizeId | Defines the string used to look up the font hinting size value in the ResourceDictionary. |
![]() ![]() | FontRenderingSizeId | Defines the string used to look up the font rendering size value in the ResourceDictionary. |
![]() ![]() | ForegroundOpacityId | Defines the string used to look up the foreground opacity value in the ResourceDictionary. |
![]() ![]() | IsBoldId | Defines the string used to look up the bold value in the ResourceDictionary. |
![]() ![]() | IsItalicId | Defines the string used to look up the italic value in the ResourceDictionary. |
![]() ![]() | TextDecorationsId | Defines the string used to look up the text decorations value in the ResourceDictionary. |
![]() ![]() | TextEffectsId | Defines the string used look up the text effects value in the ResourceDictionary. |
![]() ![]() | TypefaceId | Defines the string used o look up the typeface value in the ResourceDictionary. |
This is a MEF component part, and should be exported as: [Export(typeof(EditorFormatDefinition))]
Exporters must provide the attributes ClassificationTypeAttribute and NameAttribute. The attributes OrderAttribute, DisplayNameAttribute, and UserVisibleAttribute are optional.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




