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
'宣言
Protected Property Border As Pen
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.