SwipeItem.Background Proprietà

Definizione

Ottiene o imposta un pennello che fornisce lo sfondo del controllo.

API WinUI 2 equivalente per UWP: Microsoft.UI.Xaml.Controls.SwipeItem.Background (per WinUI nel SDK per app di Windows, vedi gli spazi dei nomi SDK per app di 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"/>

Valore della proprietà

Pennello che fornisce lo sfondo del controllo.

Si applica a