Share via


ListField.FocusPenId 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 FocusPenId As StyleSetResourceId
public StyleSetResourceId FocusPenId { get; set; }
public:
property StyleSetResourceId^ FocusPenId {
    StyleSetResourceId^ get ();
    void set (StyleSetResourceId^ value);
}
member FocusPenId : StyleSetResourceId with get, set
function get FocusPenId () : StyleSetResourceId 
function set FocusPenId (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

See Also

Reference

ListField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace