Partage via


SwipeItem.Background Propriété

Définition

Obtient ou définit un pinceau qui fournit l’arrière-plan du contrôle.

API WinUI 2 équivalente pour UWP : Microsoft.UI.Xaml.Controls.SwipeItem.Background (pour WinUI dans le SDK d'application Windows, consultez les espaces de noms SDK d'application Windows).

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

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

Valeur de propriété

Pinceau qui fournit l’arrière-plan du contrôle.

S’applique à