ListField.FocusBackgroundPenId Property
Gets or sets the pen id used to outline the focused list item.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Property FocusBackgroundPenId As StyleSetResourceId
public StyleSetResourceId FocusBackgroundPenId { get; set; }
public:
property StyleSetResourceId^ FocusBackgroundPenId {
StyleSetResourceId^ get ();
void set (StyleSetResourceId^ value);
}
member FocusBackgroundPenId : StyleSetResourceId with get, set
function get FocusBackgroundPenId () : StyleSetResourceId
function set FocusBackgroundPenId (value : StyleSetResourceId)
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId
Remarks
Both the background focus pen and the focus pen draw along the same path. The background focus pen draws first; the focus pen draws second, directly overlapping the path the background focus pen followed. This enables two-color dashed lines.
.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.