共用方式為


ListField.FocusBackgroundPenId Property

Definition

Gets or sets the pen id used to outline the focused list item.

public:
 property Microsoft::VisualStudio::Modeling::Diagrams::StyleSetResourceId ^ FocusBackgroundPenId { Microsoft::VisualStudio::Modeling::Diagrams::StyleSetResourceId ^ get(); void set(Microsoft::VisualStudio::Modeling::Diagrams::StyleSetResourceId ^ value); };
public Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId FocusBackgroundPenId { get; set; }
member this.FocusBackgroundPenId : Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId with get, set
Public Property FocusBackgroundPenId As StyleSetResourceId

Property Value

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.

Applies to