Partager via


MarkerFormatDefinition.Border Property

The pen is used to draw the border of the text marker.

Namespace:  Microsoft.VisualStudio.Text.Classification
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Déclaration
Protected Property Border As Pen
    Get
    Set
protected Pen Border { get; set; }
protected:
property Pen^ Border {
    Pen^ get ();
    void set (Pen^ value);
}
member Border : Pen with get, set
function get Border () : Pen
function set Border (value : Pen)

Property Value

Type: System.Windows.Media.Pen
The border Pen.

Remarks

This property is optional and can be null, in which case no pen will be used for the border of the text marker adornment.

.NET Framework Security

See Also

Reference

MarkerFormatDefinition Class

Microsoft.VisualStudio.Text.Classification Namespace