Share via


ListViewItemPresenter.FocusSecondaryBorderBrush Property

Definition

Gets or sets the brush used to render the second color of the border around an item that has focus. Focus is rendered as a composition of two brushes. This property is used together the FocusBorderBrush to specify these two brushes.

public:
 property Brush ^ FocusSecondaryBorderBrush { Brush ^ get(); void set(Brush ^ value); };
Brush FocusSecondaryBorderBrush();

void FocusSecondaryBorderBrush(Brush value);
public Brush FocusSecondaryBorderBrush { get; set; }
var brush = listViewItemPresenter.focusSecondaryBorderBrush;
listViewItemPresenter.focusSecondaryBorderBrush = brush;
Public Property FocusSecondaryBorderBrush As Brush
<ListViewItemPresenter FocusSecondaryBorderBrush="themeResourceReference"/>

Property Value

The brush used to render the second color of the border around an item that has focus.

Remarks

Notes on XAML syntax

The XAML usage shown is for referencing a theme resource. This is how Brush values for a presenter are typically defined, so that the values can be changed when the theme changes, and potentially so that Brush values can be shared by different templates. It's possible but less common to use a XAML syntax that refers to a Brush value directly. For examples of direct XAML usages for a Brush, see the XAML section in the Brush class topic.

If you're setting this property as an attribute on a custom ListViewItemPresenter, substitute the prefixed name of your custom class in the XAML usage shown.

Applies to

See also