DisplayItemClassificationTypeProvider Class
Represents a provider of IClassificationType objects for the UI display items within a SyntaxEditor.
public class DisplayItemClassificationTypeProvider
- Inheritance:
- object object
Constructors
DisplayItemClassificationTypeProvider()
Initializes a new instance of the DisplayItemClassificationTypeProvider
class.
DisplayItemClassificationTypeProvider(IHighlightingStyleRegistry)
Initializes a new instance of the DisplayItemClassificationTypeProvider
class.
public DisplayItemClassificationTypeProvider(IHighlightingStyleRegistry registry)
Parameter | Type | Description |
---|---|---|
registry | IHighlightingStyleRegistry | The IHighlightingStyleRegistry to use when registering classification types and highlighting styles. |
See Also
Properties
BreakpointDisabled
Gets the IClassificationType to use for a disabled breakpoint.
public IClassificationType BreakpointDisabled { get; }
Property Value
- IClassificationType:
The IClassificationType to use for a disabled breakpoint.
Remarks
Only the border is editable in the default IHighlightingStyle that is registered for this classification type.
See Also
BreakpointEnabled
Gets the IClassificationType to use for an enabled breakpoint.
public IClassificationType BreakpointEnabled { get; }
Property Value
- IClassificationType:
The IClassificationType to use for an enabled breakpoint.
Remarks
Only the foreground and background are editable in the default IHighlightingStyle that is registered for this classification type.
See Also
CaretPrimary
Gets the IClassificationType to use for the primary caret when multiple carets are active.
public IClassificationType CaretPrimary { get; }
Property Value
- IClassificationType:
The IClassificationType to use for the primary caret when multiple carets are active.
Remarks
Only the foreground is editable in the default IHighlightingStyle that is registered for this classification type.
See Also
CaretSecondary
Gets the IClassificationType to use for a secondary caret when multiple carets are active.
public IClassificationType CaretSecondary { get; }
Property Value
- IClassificationType:
The IClassificationType to use for a secondary caret when multiple carets are active.
Remarks
Only the foreground is editable in the default IHighlightingStyle that is registered for this classification type.
See Also
CodeSnippetDependentField
Gets the IClassificationType to use for a code snippet dependent field.
public IClassificationType CodeSnippetDependentField { get; }
Property Value
- IClassificationType:
The IClassificationType to use for a code snippet dependent field.
Remarks
Only the border is editable in the default IHighlightingStyle that is registered for this classification type.
See Also
CodeSnippetField
Gets the IClassificationType to use for a code snippet field.
public IClassificationType CodeSnippetField { get; }
Property Value
- IClassificationType:
The IClassificationType to use for a code snippet field.
Remarks
Only the background is editable in the default IHighlightingStyle that is registered for this classification type.
See Also
CollapsedText
Gets the IClassificationType to use for collapsed text.
public IClassificationType CollapsedText { get; }
Property Value
- IClassificationType:
The IClassificationType to use for collapsed text.
Remarks
Only the foreground is editable in the default IHighlightingStyle that is registered for this classification type.
See Also
CollapsibleRegion
Gets the IClassificationType to use for collapsible regions.
public IClassificationType CollapsibleRegion { get; }
Property Value
- IClassificationType:
The IClassificationType to use for collapsible regions.
Remarks
Only the foreground and background are editable in the default IHighlightingStyle that is registered for this classification type.
See Also
ColumnGuides
Gets the IClassificationType to use for column guides.
public IClassificationType ColumnGuides { get; }
Property Value
- IClassificationType:
The IClassificationType to use for column guides.
Remarks
Only the background is editable in the default IHighlightingStyle that is registered for this classification type.
See Also
CurrentLine
Gets the IClassificationType to use for a current line highlight.
public IClassificationType CurrentLine { get; }
Property Value
- IClassificationType:
The IClassificationType to use for current line highlight.
Remarks
Only the background and border are editable in the default IHighlightingStyle that is registered for this classification type.
See Also
CurrentStatement
Gets the IClassificationType to use for a current statement.
public IClassificationType CurrentStatement { get; }
Property Value
- IClassificationType:
The IClassificationType to use for a current statement.
Remarks
Only the foreground and background are editable in the default IHighlightingStyle that is registered for this classification type.
See Also
DelimiterMatching
Gets the IClassificationType to use for a delimiter match highlight.
public IClassificationType DelimiterMatching { get; }
Property Value
- IClassificationType:
The IClassificationType to use for delimiter match highlight.
Remarks
Only the background is editable in the default IHighlightingStyle that is registered for this classification type.
See Also
FindMatchHighlight
Gets the IClassificationType to use for a find match highlight.
public IClassificationType FindMatchHighlight { get; }
Property Value
- IClassificationType:
The IClassificationType to use for find match highlight.
Remarks
Only the background is editable in the default IHighlightingStyle that is registered for this classification type.
See Also
FindScopeHighlight
Gets the IClassificationType to use for a find scope highlight.
public IClassificationType FindScopeHighlight { get; }
Property Value
- IClassificationType:
The IClassificationType to use for find scope highlight.
Remarks
Only the background is editable in the default IHighlightingStyle that is registered for this classification type.
See Also
InactiveSelectedText
Gets the IClassificationType to use for inactive selected text.
public IClassificationType InactiveSelectedText { get; }
Property Value
- IClassificationType:
The IClassificationType to use for inactive selected text.
Remarks
Only the background is editable in the default IHighlightingStyle that is registered for this classification type.
See Also
IndentationGuides
Gets the IClassificationType to use for indentation guides.
public IClassificationType IndentationGuides { get; }
Property Value
- IClassificationType:
The IClassificationType to use for indentation guides.
Remarks
Only the background is editable in the default IHighlightingStyle that is registered for this classification type.
See Also
IndicatorMargin
Gets the IClassificationType to use for the indicator margin.
public IClassificationType IndicatorMargin { get; }
Property Value
- IClassificationType:
The IClassificationType to use for the indicator margin.
Remarks
Only the background is editable in the default IHighlightingStyle that is registered for this classification type.
See Also
LineNumberCurrent
Gets the IClassificationType to use for line numbers.
public IClassificationType LineNumberCurrent { get; }
Property Value
- IClassificationType:
The IClassificationType to use for line numbers.
Remarks
Only the foreground and background are editable in the default IHighlightingStyle that is registered for this classification type.
See Also
LineNumbers
Gets the IClassificationType to use for line numbers.
public IClassificationType LineNumbers { get; }
Property Value
- IClassificationType:
The IClassificationType to use for line numbers.
Remarks
Only the foreground and background are editable in the default IHighlightingStyle that is registered for this classification type.
See Also
OutliningMarginSquare
Gets the IClassificationType to use for outlining margin squares.
public IClassificationType OutliningMarginSquare { get; }
Property Value
- IClassificationType:
The IClassificationType to use for outlining margin squares.
Remarks
Only the foreground and background are editable in the default IHighlightingStyle that is registered for this classification type.
See Also
OutliningMarginVerticalRule
Gets the IClassificationType to use for outlining margin vertical rules.
public IClassificationType OutliningMarginVerticalRule { get; }
Property Value
- IClassificationType:
The IClassificationType to use for outlining margin vertical rules.
Remarks
Only the foreground is editable in the default IHighlightingStyle that is registered for this classification type.
See Also
PlainText
Gets the IClassificationType to use for plain text.
public IClassificationType PlainText { get; }
Property Value
- IClassificationType:
The IClassificationType to use for plain text.
Remarks
Only the foreground and background are editable in the default IHighlightingStyle that is registered for this classification type.
See Also
RevertedChangesMark
Gets the IClassificationType to use for reverted changes marks.
public IClassificationType RevertedChangesMark { get; }
Property Value
- IClassificationType:
The IClassificationType to use for reverted changes marks.
Remarks
Only the background is editable in the default IHighlightingStyle that is registered for this classification type.
See Also
SavedChangesMark
Gets the IClassificationType to use for saved changes marks.
public IClassificationType SavedChangesMark { get; }
Property Value
- IClassificationType:
The IClassificationType to use for saved changes marks.
Remarks
Only the background is editable in the default IHighlightingStyle that is registered for this classification type.
See Also
SelectedText
Gets the IClassificationType to use for selected text.
public IClassificationType SelectedText { get; }
Property Value
- IClassificationType:
The IClassificationType to use for selected text.
Remarks
Only the background is editable in the default IHighlightingStyle that is registered for this classification type.
See Also
UnsavedChangesMark
Gets the IClassificationType to use for unsaved changes marks.
public IClassificationType UnsavedChangesMark { get; }
Property Value
- IClassificationType:
The IClassificationType to use for unsaved changes marks.
Remarks
Only the background is editable in the default IHighlightingStyle that is registered for this classification type.
See Also
VisibleWhitespace
Gets the IClassificationType to use for visible whitespace.
public IClassificationType VisibleWhitespace { get; }
Property Value
- IClassificationType:
The IClassificationType to use for visible whitespace.
Remarks
Only the foreground is editable in the default IHighlightingStyle that is registered for this classification type.
See Also
WordWrapGlyph
Gets the IClassificationType to use for the word wrap glyph.
public IClassificationType WordWrapGlyph { get; }
Property Value
- IClassificationType:
The IClassificationType to use for the word wrap glyph.
Remarks
Only the foreground is editable in the default IHighlightingStyle that is registered for this classification type.
See Also
Methods
RegisterAll()
Registers all classification types and highlighting styles with the IHighlightingStyleRegistry used by this class.
public IEnumerable<IClassificationType> RegisterAll()
Returns
- IEnumerable<IClassificationType>:
The collection of IClassificationType objects that were registered.
See Also
Inherited Members
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()