Share via


SwipeItem.Foreground Propiedad

Definición

Obtiene o establece el pincel que pinta el texto y el icono del elemento.

API de WinUI 2 equivalente para UWP: Microsoft.UI.Xaml.Controls.SwipeItem.Foreground (para WinUI en el SDK de Aplicaciones para Windows, consulta los espacios de nombres SDK de Aplicaciones para Windows).

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

void Foreground(Brush value);
public Brush Foreground { get; set; }
var brush = swipeItem.foreground;
swipeItem.foreground = brush;
Public Property Foreground As Brush
<SwipeItem Foreground="{StaticResource resourceName}"/>
- or -
<SwipeItem Foreground="colorString"/>

Valor de propiedad

Pincel que pinta el texto y el icono del elemento.

Se aplica a