Share via


TextViewMarginProviderConfiguration Class

Definition

Configuration for an ITextViewMarginProvider extension part.

public sealed class TextViewMarginProviderConfiguration : IEquatable<Microsoft.VisualStudio.Extensibility.Editor.TextViewMarginProviderConfiguration>
type TextViewMarginProviderConfiguration = class
    interface IEquatable<TextViewMarginProviderConfiguration>
Public NotInheritable Class TextViewMarginProviderConfiguration
Implements IEquatable(Of TextViewMarginProviderConfiguration)
Inheritance
TextViewMarginProviderConfiguration
Implements

Constructors

TextViewMarginProviderConfiguration(ContainerMarginPlacement)

Initializes a new instance of the TextViewMarginProviderConfiguration class.

Properties

After

Gets or sets the optional margin after which this margin should be placed.

Before

Gets or sets the optional margin before which this margin should be placed.

GridCellLength

Gets or sets the size of the grid cell in which the margin should be placed. Defaults to 1.0.

GridUnitType

Gets or sets the grid unit type to be used for drawing of this element in the container margin's grid. Describes the kind of value that a GridCellLength object is holding. Defaults to Auto.

MarginContainer

Gets the name of the margin that contains this margin.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

Equals(TextViewMarginProviderConfiguration)

Indicates whether the current object is equal to another object of the same type.

GetHashCode()

Serves as the default hash function.

Applies to